aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-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: