We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3f13f3 commit f554014Copy full SHA for f554014
Makefile
@@ -48,6 +48,7 @@ endif
48
ifndef GITHUB_USERNAME
49
$(error GITHUB_USERNAME env var is not set)
50
endif
51
+ @if [ $(shell git branch --show-current) != "master" ]; then echo "Error: This command can only be run on the master branch"; exit 1; fi;
52
echo $$GITHUB_PAT | docker login ghcr.io --username $$GITHUB_USERNAME --password-stdin
53
VERSION=$(VERSION) $(COMPOSE_PUBLISH) build
54
VERSION=$(VERSION) $(COMPOSE_PUBLISH) push difficalcy-osu difficalcy-taiko difficalcy-catch difficalcy-mania
0 commit comments