Last active
July 17, 2026 09:56
-
-
Save Akifcan/03f40221c3b172b68fd46082f6d84cb3 to your computer and use it in GitHub Desktop.
tag-release.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # tag-release.sh | |
| # Usage: ./tag-release.sh v1.4.2 | |
| VERSION=$1 | |
| if [ -z "$VERSION" ]; then | |
| echo "Usage: ./tag-release.sh v1.4.2" | |
| exit 1 | |
| fi | |
| REPOS=( | |
| "INSERT" | |
| "YOUR" | |
| "PROJECT PATH" | |
| "HERE" | |
| ) | |
| for REPO in "${REPOS[@]}"; do | |
| echo "📦 $REPO..." | |
| git -C "$REPO" tag "$VERSION" | |
| git -C "$REPO" push origin "$VERSION" | |
| echo "✅ Done: $REPO" | |
| done | |
| echo "🎉 All repos tagged with $VERSION" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment