Update releasing

This commit is contained in:
Fabrice Reix 2022-09-15 13:52:14 +02:00
parent ad83b87399
commit d27d825098
No known key found for this signature in database
GPG Key ID: BF5213154B2E7155

View File

@ -2,22 +2,32 @@
We are starting with current version x.y.0-snapshot (in Cargo.toml).
Releasing a new version of Hurl will create a release x.y.0
and update master to x.(y+1).0-snapshot
Releasing a new version of Hurl will create a release M.m.0
and update master to M.(m+1).0-snapshot
Steps:
1. Update CHANGELOG (COMMIT)
2. Update README (COMMIT)
3. Remove -snapshot suffix in Cargo.toml to x.y.0 (COMMIT)
4. Create Tag/Release x.y.0
5. Copy CHANGELOG into Release x.y.0
6. Upload artifacts into Release x.y.0
7. Push to crates.io
8. Increase Version in Cargo.toml to x.(y+1).0 (COMMIT)
## Steps
0. Create branch/PR release/M.m.0
1. Update CHANGELOG from Issues/PR
2. Update Cargo.toml (x3) remove -snapshot suffix and Cargo.lock
3. Update version in docs/installations.md
4. Regenerate man pages and README
5. Commit
6. Tag M.n.0
7. Create GitHub Release
8. Copy Changelog and upload artifacts
9. Merge (Fast forward) release branch to master
10. Increase Version in Cargo.toml to M.(m+1).0-snapshot
11. Commit
12. Upload packages to external package managers
## CHANGELOG
- Issues are grouped into Changes (Enhancement) and Bug Fixes.
- Use description from PR (starts with a verb)
- Add link(s) to related issue(s)
- Add link(s) to related issue(s)
## Additional
- push source packages (checkout tag) to crates.io