chore: update workflows
This commit is contained in:
@@ -94,6 +94,10 @@ jobs:
|
|||||||
git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git add Cargo.toml
|
git add Cargo.toml
|
||||||
git commit -m "chore(release): v${new_version}"
|
if git diff --cached --quiet; then
|
||||||
|
echo "Cargo.toml already at v${new_version}, skipping commit"
|
||||||
|
else
|
||||||
|
git commit -m "chore(release): v${new_version}"
|
||||||
|
fi
|
||||||
git tag "v${new_version}"
|
git tag "v${new_version}"
|
||||||
git push origin main --tags
|
git push origin main --tags
|
||||||
|
|||||||
Reference in New Issue
Block a user