1 Commits
v0.0.6 ... main

View File

@@ -81,7 +81,9 @@ log_and_run git push origin "$NEXT_VERSION"
# Update the latest tag
printfe "%s\n" "cyan" "Updating 'latest' tag..."
log_and_run git tag -f latest "$NEXT_VERSION"
# Get the commit that the new version tag points to
COMMIT_HASH=$(git rev-parse "$NEXT_VERSION")
log_and_run git tag -f latest "$COMMIT_HASH"
log_and_run git push -f origin latest
printfe "%s\n" "green" "Successfully tagged and pushed version $NEXT_VERSION"