diff options
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |