aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2025-05-30 23:15:41 -0700
committerMax Resnick <max@ofmax.li>2025-05-30 23:15:41 -0700
commit69105b817b35304ebb5c562b67046f1d8cfe5c8b (patch)
tree3e3cc872bc88debe42ef2a53387bf4067b636ac1
parent3db002a8825af8f350c0f5ac60db8349495019c1 (diff)
downloadgo-git-server-69105b817b35304ebb5c562b67046f1d8cfe5c8b.tar.gz
fix: update push recipes
-rw-r--r--justfile6
1 files 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: