From 6879e62cff07cd7ac82758d22abf7e8f2ababc70 Mon Sep 17 00:00:00 2001 From: "ekin.tertemiz" Date: Wed, 7 Oct 2026 20:40:44 +0200 Subject: [PATCH] add script to overwrite tag --- overwrite_tag.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 overwrite_tag.sh diff --git a/overwrite_tag.sh b/overwrite_tag.sh new file mode 100755 index 0000000..7faab69 --- /dev/null +++ b/overwrite_tag.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Set TAG to $1 if provided and not empty, otherwise default to "v1" +TAG="${1:-v1}" + +echo "Updating tag: $TAG" + +# Force-update the tag locally +git tag -fa "$TAG" -m "Updating $TAG to include latest changes" + +# Force-push the updated tag to the remote repository +git push origin "$TAG" --force \ No newline at end of file