Skip to content

Commit

Permalink
Add retagging script
Browse files Browse the repository at this point in the history
  • Loading branch information
dokempf committed Aug 21, 2024
1 parent 66699c3 commit c764640
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions retag.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# Add the new tag
git tag "$1"

# Retag "v1" to point to the new one
git tag -d v1
git tag v1

# Push the new tag
git push origin "$1"

# Retag "v1" remotely
git push --delete origin v1
git push origin v1

0 comments on commit c764640

Please sign in to comment.