Skip to content

Commit 5b9f106

Browse files
authored
Do not amend commit when creating release PR.
`cargo release` does not actually commit changes, so amending the commit was not necessary and instead applied to the last commit from `main`, which broke history.
1 parent 535e103 commit 5b9f106

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.github/workflows/create-release-pr.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
cargo update
3434
NEW_VERSION=$(cargo metadata --no-deps --format-version 1 | jq -rc '.packages[] | select(.name=="worker") | .version')
3535
find templates | grep Cargo.toml | while read f; do sed -i -e "s/$OLD_VERSION/$NEW_VERSION/g" $f; done
36-
git commit --amend --no-edit
3736
echo "version=$NEW_VERSION" >> "$GITHUB_OUTPUT"
3837
- name: Check semver
3938
uses: obi1kenobi/cargo-semver-checks-action@v2

0 commit comments

Comments
 (0)