Skip to content

Commit

Permalink
fix: version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
abeizn committed Sep 20, 2024
1 parent 3393d4d commit c2ca353
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# https://stackoverflow.com/questions/920413/make-error-missing-separator
# https://tutorialedge.net/golang/makefiles-for-go-developers/

SHA := $(shell git show -s --format=%h 2>/dev/null || echo "default_SHA")
TAG := $(shell git tag --points-at HEAD 2>/dev/null || echo "default_TAG")
SHA ?= $(shell git show -s --format=%h 2>/dev/null || echo "default_SHA")
TAG ?= $(shell git tag --points-at HEAD 2>/dev/null || echo "default_TAG")
IMAGE_REPO ?= "apache"
VERSION = $(TAG)@$(SHA)

Expand Down
4 changes: 2 additions & 2 deletions backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# https://stackoverflow.com/questions/920413/make-error-missing-separator
# https://tutorialedge.net/golang/makefiles-for-go-developers/

SHA := $(shell git show -s --format=%h 2>/dev/null || echo "default_SHA")
TAG := $(shell git tag --points-at HEAD 2>/dev/null || echo "default_TAG")
SHA ?= $(shell git show -s --format=%h 2>/dev/null || echo "default_SHA")
TAG ?= $(shell git tag --points-at HEAD 2>/dev/null || echo "default_TAG")
IMAGE_REPO ?= "apache"
VERSION = $(TAG)@$(SHA)
PYTHON_DIR ?= "./python"
Expand Down

0 comments on commit c2ca353

Please sign in to comment.