Skip to content

Commit 63839d5

Browse files
committed
chore: Improve Makefile formatting and version target functionality
- Clean up Makefile for better readability - Add version echoing in `version` target - Fix indentation and spacing issues in `version` target
1 parent 1dfc4b0 commit 63839d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ build: init
7272
publish: init login-github version
7373
docker compose build --push backstage
7474
VERSION=latest docker compose build --push backstage
75-
76-
version:
77-
@echo "$(VERSION)"
7875
ifdef CI
7976
@echo "# 📦 Version" >> ${GITHUB_STEP_SUMMARY}
8077
@echo "Copy the following version to the \`VERSION\` variable as the Docker image tag." >> ${GITHUB_STEP_SUMMARY}
@@ -84,6 +81,9 @@ ifdef CI
8481
@echo "" >> ${GITHUB_STEP_SUMMARY}
8582
endif
8683

84+
version:
85+
@echo "$(VERSION)"
86+
8787
release: version
8888
ifdef CI
8989
git config --global user.email "[email protected]"

0 commit comments

Comments
 (0)