-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: implement semantic-release automation
This involves a few steps that I've kept together for easy reference as an example: 1. Configure semantic release (`.releaserc.yaml`) This uses a custom plugin, which I maintain, to upload with `stack upload` as the main release action. 2. Trigger semantic release in the Release workflow 3. Update `package.yaml` to not have a meaningful version Except the `2.` prefix is there, so my release plugin can infer it. 4. Update the README with release instructions 5. Update CHANGELOG to point to releases This is how semantic-release folks recommend doing it. The Releases (from now own) will have automatically-maintained changelog information. I may backfill previous releases.
- Loading branch information
Showing
6 changed files
with
49 additions
and
58 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
tagFormat: "v2.${version}" # PVP prefixed | ||
|
||
plugins: | ||
- "@semantic-release/commit-analyzer" | ||
- "@semantic-release/release-notes-generator" | ||
- - "@semantic-release/github" | ||
- successCommentCondition: false | ||
- - "semantic-release-stack-upload" | ||
- pvpBounds: lower | ||
stripSuffix: true | ||
|
||
branches: | ||
- main | ||
- name: rc/* | ||
prerelease: '${name.replace(/^rc\//, "rc-")}' |
This file contains 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 |
---|---|---|
@@ -1,46 +1 @@ | ||
## [_Unreleased_](https://github.com/freckle/graphula/compare/v2.1.0.0...main) | ||
|
||
## [v2.1.0.0](https://github.com/freckle/graphula/compare/v2.0.2.2...v2.1.0.0) | ||
|
||
- Some unnecessary `SafeToInsert` have been removed from `node` and `nodeKeyed`. | ||
- `node` only requires `SafeToInsert` when the `KeySource` is `SourceDefault`, | ||
not when the `KeySource` is `KeyArbitrary`. | ||
- `nodeKeyed` no longer ever requires `SafeToInsert` | ||
- `MonadGraphulaFrontend` has a new `insertKeyed` method. | ||
|
||
## [v2.0.2.2](https://github.com/freckle/graphula/compare/v2.0.2.1...v2.0.2.2) | ||
|
||
- Add missing MonadUnliftIO instance to GraphulaLoggedT | ||
|
||
## [v2.0.2.1](https://github.com/freckle/graphula/compare/v2.0.1.1...v2.0.2.1) | ||
|
||
- Support persistent-2.14 | ||
|
||
## [v2.0.1.1](https://github.com/freckle/graphula/compare/v2.0.0.5...v2.0.1.1) | ||
|
||
- Support GHCs 9.0 and 9.2 | ||
|
||
## [v2.0.1.0](https://github.com/freckle/graphula/compare/v2.0.0.5...v2.0.1.0) | ||
|
||
- Add/improve documentation | ||
- Re-organize previously-internal module | ||
|
||
## [v2.0.0.5](https://github.com/freckle/graphula/compare/v2.0.0.4...v2.0.0.5) | ||
|
||
- Release without dependencies upper bounds | ||
|
||
## [v2.0.0.4](https://github.com/freckle/graphula/compare/v2.0.0.3...v2.0.0.4) | ||
|
||
- Relax persistent packages' upper bounds | ||
|
||
## [v2.0.0.3](https://github.com/freckle/graphula/compare/v2.0.0.2...v2.0.0.3) | ||
|
||
- Relax dependencies upper bounds | ||
|
||
## [v2.0.0.2](https://github.com/freckle/graphula/compare/v2.0.0.1...v2.0.0.2) | ||
|
||
- Support GHC-8.10 and unliftio-core 2.0.0 | ||
|
||
## [v2.0.0.1](https://github.com/faktory/graphula/tree/v2.0.0.1) | ||
|
||
First tagged release. | ||
See https://github.com/freckle/graphula/releases |
This file contains 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 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 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