We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1f4334 commit 03d2ee3Copy full SHA for 03d2ee3
1 file changed
scripts/pre-push-hook.sh
@@ -13,7 +13,7 @@ VALIDATE_SCRIPT="$PROJECT_ROOT/scripts/validate-version.sh"
13
while read local_ref local_oid remote_ref remote_oid; do
14
# Check if this is a tag reference
15
if [[ "$local_ref" =~ ^refs/tags/ ]]; then
16
-
+ tag_name="${local_ref#refs/tags/}"
17
18
# Validate that versions match before allowing tag push
19
if [[ -f "$VALIDATE_SCRIPT" ]]; then
@@ -49,4 +49,3 @@ while read local_ref local_oid remote_ref remote_oid; do
49
done
50
51
exit 0
52
0 commit comments