Skip to content

Commit

Permalink
ensure latest tag is used for GIT_TAG (#4878)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdabelf5 committed Jan 9, 2024
1 parent 9e93231 commit 6574d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# variables that should not be overridden by the user
GIT_TAG = $(shell git describe --tags --abbrev=0 || echo untagged)
GIT_TAG = $(shell git tag --sort=-version:refname | head -n1 || echo untagged)
VERSION = $(GIT_TAG)-SNAPSHOT
PLUS_ARGS = --secret id=nginx-repo.crt,src=nginx-repo.crt --secret id=nginx-repo.key,src=nginx-repo.key

Expand Down

0 comments on commit 6574d10

Please sign in to comment.