diff options
| -rw-r--r-- | justfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -40,7 +40,6 @@ builddir: mkdir -p {{ BUILDDIR }}/etc mkdir -p {{ BUILDDIR }}/bin cp policy.csv auth_model.ini gitserver.yaml {{ BUILDDIR }}/etc/ - git-push tag: git push origin master git push origin {{ tag }} @@ -81,8 +80,9 @@ build version: test builddir CGO_ENABLED=0 go build -a -ldflags "-s -X 'main.goGitServerVersion={{version}}'" -o {{ BUILDDIR }}//bin/go-git-server cmd/main.go push: - just docker-push; \ - just git-push {{ NEW_VERSION }} + new_ver=$(cat {{ NEW_VERSION }}); \ + just docker-push; \ + just git-push $new_ver @echo "pushed to all endpoints" docker-push registry=DEFAULT_REGISTRY: |