Skip to content

Commit dcbbe4e

Browse files
committed
improved urls in makefile
1 parent c56ffc5 commit dcbbe4e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,12 @@ publish:
255255
echo "" && \
256256
echo "✓ Tag pushed successfully!" && \
257257
echo "" && \
258+
repo_path=$$(git config --get remote.origin.url | sed 's|^https://github.com/||;s|^[email protected]:||;s|\.git$$||'); \
258259
echo "GitHub Actions workflows triggered:" && \
259-
echo " - Release creation: https://github.com/$$(git config --get remote.origin.url | sed 's/.*://;s/.git$$//')/actions/workflows/release.yml" && \
260-
echo " - PyPI publishing: https://github.com/$$(git config --get remote.origin.url | sed 's/.*://;s/.git$$//')/actions/workflows/publish.yml" && \
260+
echo " - Release creation: https://github.com/$$repo_path/actions/workflows/release.yml" && \
261+
echo " - PyPI publishing: https://github.com/$$repo_path/actions/workflows/publish.yml" && \
261262
echo "" && \
262-
echo "Monitor progress at: https://github.com/$$(git config --get remote.origin.url | sed 's/.*://;s/.git$$//')/actions"
263+
echo "Monitor progress at: https://github.com/$$repo_path/actions"
263264

264265
# Alias for publish
265266
release: publish

0 commit comments

Comments
 (0)