aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--justfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/justfile b/justfile
index d16e800..5b95c74 100644
--- a/justfile
+++ b/justfile
@@ -41,7 +41,7 @@ new-ver part="latest": builddir
git-push tag:
new_ver=$(cat {{ NEW_VERSION }}); \
git push origin master; \
- git push origin {{ tag }}
+ git push origin {{ tag }}
git-build-release:
#!/usr/bin/env bash
@@ -78,6 +78,10 @@ release part: test builddir (docker-build part) git-build-release git-tag-releas
build version: test builddir
CGO_ENABLED=0 go build -a -ldflags "-s -X 'main.Version={{version}}'" -o {{ BUILDDIR }}/bin/unbound-ads main.go
+local-build: new-ver
+ new_ver=$(cat {{ NEW_VERSION }}); \
+ just build $new_ver
+
push:
just docker-push; \
just git-push