Skip to content

Commit 7f967c5

Browse files
committed
Clean the tag
1 parent 946c3e3 commit 7f967c5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ docker-build:
1313
docker buildx build \
1414
--build-arg VCS_REF="$(shell git rev-parse HEAD)" \
1515
--build-arg BUILD_DATE="$(shell date -u +"%Y-%m-%dT%H:%M:%SZ")" \
16-
--build-arg RELEASE_VERSION="$(shell make version)" \
16+
--build-arg RELEASE_VERSION="$(shell make -s version)" \
1717
--tag $(IMAGE_TAG) \
1818
--progress $(PROGRESS_MODE) \
1919
--platform $(PLATFORM) \
@@ -26,14 +26,14 @@ docker-test:
2626
docker compose -f ./docker/docker-compose-latest.test.yml up
2727

2828
update-tags:
29-
git tag -s -f -a -m "latest version ($(shell make version))" latest
29+
git tag -s -f -a -m "latest version ($(shell make -s version))" latest
3030
git push origin refs/tags/latest -f
3131

3232
tag:
33-
@echo "Tagging: $(shell make version)"
33+
@echo "Tagging: $(shell make -s version)"
3434
sleep 3
35-
git tag -s -a -m "$(shell make version)" "$(shell make -s version)"
36-
git push origin "refs/tags/$(shell make version)"
35+
git tag -s -a -m "$(shell make -s version)" "$(shell make -s version)"
36+
git push origin "refs/tags/$(shell make -s version)"
3737

3838
version:
3939
@grep -F "'capistrano'" ./docker/Gemfile | cut -d "'" -f 4

0 commit comments

Comments
 (0)