@@ -26,64 +26,8 @@ so bumping Bazel regularly is required.
26
26
27
27
## Cutting a New Release
28
28
29
- - [ ] Read through this process in its entirety so you understand it.
30
- - [ ] Copy this list of steps into an empty ` rules_haskell ` issue.
31
- - [ ] Create and checkout a new release preparation branch, named
32
- ` release-<major>.<minor> ` .
33
- - [ ] Update the minimal Bazel version in [ the ` start ` script] [ start ] ,
34
- [ ` haskell/private/versions.bzl ` ] [ versions ] , and [ the
35
- ` README ` ] [ readme ] ; add it to the [ ` CHANGELOG ` ] [ changelog ] if it
36
- changed.
37
- - [ ] Remove any feature that is still too experimental to go into a
38
- release, by cherry-picking reverts (or by manually deleting the
39
- feature).
40
- - [ ] Check the list [ below] ( #remove-these-prs-from-minor-releases )
41
- for PRs that have been explicitly marked for removal, if any.
42
- - [ ] Amend the [ ` CHANGELOG ` ] [ changelog ] by summarising all significant
43
- pull requests since the last release (see
44
- [ below] ( #generating-the-pr-list-for-the-changelog ) ). Specifically:
45
- - [ ] Add a "Highlights" section for major improvements/changes.
46
- - [ ] Create "Added", "Removed", "Changed" and "Fixed" sections, as
47
- necessary.
48
- - [ ] If relevant, add links to the corresponding PRs to the entries.
49
- - [ ] Set the revision in [ the ` start ` script] [ start ] and
50
- [ ` docs/haskell-use-cases ` ] [ usecases ] to the current release
51
- preparation branch; comment out the checksum. (n.b., Search for
52
- ` http_archive ` in these files.)
53
- - [ ] Push and verify that the ` release-<major>.<minor> ` branch is
54
- green in the CI.
55
- - [ ] Create a release tag (` v<major>.<minor> ` ) on the release
56
- preparation branch.
57
- - [ ] Similar to above, set the revision in [ the ` start ` script] [ start ]
58
- and [ ` docs/haskell-use-cases ` ] [ usecases ] to the release tag and
59
- update the checksum, uncommenting it out from previously. (See
60
- [ below] ( #generating-the-archive-checkum ) to get the checksum.)
61
- - [ ] Push the above, including the release tag, and open a PR from the
62
- release preparation branch; go through review and merge to
63
- ` master ` upon success.
64
- - If any changes need to be made, upon review, you will need to delete
65
- the release tag (from local and origin) and repeat the previous four
66
- steps appropriately before requesting a follow-up review.
67
- - If there are changes on the release preparation branch that should
68
- * not* go to ` master ` , create a second branch
69
- ` release-<major>.<minor>-master ` on ` master ` and cherry-pick all
70
- relevant commits from the release branch preparation branch. Open a
71
- pull request with that branch, go through review and push changes
72
- back to the release preparation branch.
73
- - [ ] Go to the [ release page] [ releases ] to create a new release:
74
- - [ ] Click on "Draft a new release".
75
- - [ ] Name "` v<major>.<minor> ` ".
76
- - [ ] Select the tag you created previously (it should be in
77
- GitHub's dropdown list).
78
- - [ ] Copy the [ CHANGELOG] [ changelog ] section for this release into
79
- the description. (You don't need to provide the source ` .zip `
80
- and ` .tar.gz ` archives; GitHub does this automatically.)
81
- - [ ] Release.
82
- - [ ] Merge ` master ` into the ` release ` branch and push to trigger
83
- deployment.
84
- - [ ] Check whether https://haskell.build/start is now the latest
85
- [ ` start ` script] [ start ] (Netlify sometimes has problems).
86
- - [ ] Announce the new version on Twitter by asking someone with access.
29
+ - [ ] Create a [ new issue] [ release-issue ] from the "Prepare new release"
30
+ template and follow the instructions there.
87
31
88
32
### Generating the PR List for the CHANGELOG
89
33
@@ -130,7 +74,4 @@ the initial "v"; adjust as necessary.
130
74
<!-- Links -->
131
75
[ start ] : ./start
132
76
[ versions ] : ./haskell/private/versions.bzl
133
- [ readme ] : ./README.md
134
- [ changelog ] : ./CHANGELOG.md
135
- [ usecases ] : ./docs/haskell-use-cases.rst
136
- [ releases ] : https://github.com/tweag/rules_haskell/releases
77
+ [ release-issue ] : https://github.com/tweag/rules_haskell/issues/new?template=release.md
0 commit comments