-
-
Notifications
You must be signed in to change notification settings - Fork 401
Prepare release 2.1.0.0 #3748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Prepare release 2.1.0.0 #3748
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
98a4449
Prepare release 2.1.0.0
fendor 63445c5
Update release ghc versions
fendor 9367c5a
Fix release CI for unknown linux
fendor ca9e367
Generate ChangeLog from 2.0.0.0
fendor 816c1e8
Update notable changes in ChangeLog
fendor a396433
Update index-state
fendor 1248275
Add environment for vars context
fendor 2494f38
Free up disk space after running test
fendor 151b174
Expand release notes
fendor a894004
Update supported ghc version page
fendor 0570ca4
Merge branch 'master' into wip/2.1.0.0
mergify[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,31 @@ | |
- [ ] set the supported GHCs in workflow file `.github/workflows/release.yaml` | ||
- [ ] check all plugins still work if release includes code changes | ||
- [ ] bump package versions in all `*.cabal` files (same version as hls) | ||
- HLS uses a lockstep versioning. The core packages and all plugins use the same version number, and only support exactly the this version. | ||
- Exceptions: | ||
- `hie-compat` requires no automatic version bump. | ||
- `shake-bench` is an internal testing tool, not exposed to the outside world. Thus, no version bump required for releases. | ||
- For updating cabal files, the following script can be used: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should just commit something like this! |
||
- ```sh | ||
# Update all `version:` fields | ||
sed -ri "s/^version:( +)2.1.0.0/version:\12.2.0.0/" **/*.cabal | ||
# Update all constraints expected to be in the form `== <version>`. | ||
# We usually don't force an exact version, so this is relatively unambiguous. | ||
# We could introduce some more ad-hoc parsing, if there is still ambiguity. | ||
sed -ri "s/== 2.1.0.0/== 2.2.0.0/" **/*.cabal | ||
``` | ||
- It still requires manual verification and review | ||
- [ ] generate and update changelog | ||
- Generate a ChangeLog via `./GenChangelogs.hs <api-key> <tag>` | ||
- `<tag>` is the git tag you want to generate the ChangeLog from. | ||
- `<api-key>` is a github access key: https://github.com/settings/tokens | ||
- [ ] create release branch as `wip/<version>` | ||
- `git switch -c wip/<version>` | ||
- [ ] create release tag as `<version>` | ||
- `git tag <version>` | ||
- [ ] trigger release pipeline by pushing the tag | ||
- this creates a draft release | ||
- `git push <remote> <version>` | ||
- [ ] run `sh scripts/release/download-gh-artifacts <version> <your-gpg-email>` | ||
- downloads artifacts to `gh-release-artifacts/<version>/` | ||
- also downloads FreeBSD bindist from circle CI | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.