From 69105b817b35304ebb5c562b67046f1d8cfe5c8b Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Fri, 30 May 2025 23:15:41 -0700 Subject: fix: update push recipes --- justfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index 4879992..5071be6 100644 --- a/justfile +++ b/justfile @@ -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: -- cgit v1.2.3