diff options
| author | Max Resnick <max@ofmax.li> | 2025-05-30 23:15:41 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2025-05-30 23:15:41 -0700 |
| commit | 69105b817b35304ebb5c562b67046f1d8cfe5c8b (patch) | |
| tree | 3e3cc872bc88debe42ef2a53387bf4067b636ac1 | |
| parent | 3db002a8825af8f350c0f5ac60db8349495019c1 (diff) | |
| download | go-git-server-69105b817b35304ebb5c562b67046f1d8cfe5c8b.tar.gz | |
fix: update push recipes
| -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: |