Skip to content

Commit

Permalink
Fix version bump in main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
rabilrbl committed Jan 23, 2024
1 parent 27d1c28 commit b7e4752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
# Calculate the new version number.
new_version="v${major}.${minor}.${patch}"
echo "New version: $new_version"
sed -i 's/Version:[[:space:]]*"[^"]*"/Version: $new_version/' main.go
sed -i "s/Version:[[:space:]]*\"[^\"]*\"/Version: \"$new_version\"/" main.go
git add main.go && git commit -m "Bump version to $new_version" && git push origin HEAD:main
# Mirrors tags
git tag -fa v$major -m "Mirror tag $new_version"
Expand Down

0 comments on commit b7e4752

Please sign in to comment.