-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Update release issue template #4268
Conversation
Adds bumping spec_version and version in Cargo.toml to the checklist after publishing a release.
chevdor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will come up with a suggestion
| draft-release | ||
| - [ ] Once the new release has been published, bump `spec_version` in Polkadot, Westend and Kusama. | ||
| - [ ] Once the new releaes has been published, bump the version string in various `Cargo.toml` files | ||
| - For example, bumping v0.9.12 to v0.9.13: `grep -rl '^version = "0.9.12"' ./**/Cargo.toml | xargs sed -i 's/^version = "0.9.12"/version = "0.9.13"/g'` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The command "as is" does not work on MacOS. I am testing a small variation.
| draft-release | ||
| - [ ] Once the new release has been published, bump `spec_version` in Polkadot, Westend and Kusama. | ||
| - [ ] Once the new releaes has been published, bump the version string in various `Cargo.toml` files | ||
| - For example, bumping v0.9.12 to v0.9.13: `grep -rl '^version = "0.9.12"' ./**/Cargo.toml | xargs sed -i 's/^version = "0.9.12"/version = "0.9.13"/g'` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would the following work for you as well ?
| - For example, bumping v0.9.12 to v0.9.13: `grep -rl '^version = "0.9.12"' ./**/Cargo.toml | xargs sed -i 's/^version = "0.9.12"/version = "0.9.13"/g'` | |
| - For example, bumping v0.9.12 to v0.9.13: `grep -rl '^version = "0.9.12"' ./**/Cargo.toml | xargs sed -i '' -e 's/^version = "0.9.12"/version = "0.9.13"/g'` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think the suggestion went a bit wonky - are you suggesting to swap -i for -e?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no no, as it shows: to explicitely tell -i to be empty and -e to the previous content.
Adds bumping spec_version and version in Cargo.toml to the checklist after publishing a release.