nikita-volkov/Release a Haskell package repository
Perform automatic version management and publish a package on Hackage.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| hackage-token | Authentication token for Hackage. You can generate it at [your Hackage account management page](http://hackage.haskell.org/users/account-management) and provide it via Github Actions Secrets. | yes | — |
| version-bump-place | Index of the bumped version place. E.g., `2` points to `x` in `0.1.x.0`. To determine the place from a branch name you can use the following expression: ``` fromJSON('{"supermajor":0,"major":1,"minor":2,"patch":3}')[github.ref_name] ``` | yes | — |
| main-branch | The name of your main branch to merge the version changes to. E.g., "main" or "master". Defaults to "main". | — | main |
| prefix-tag-with-v | Whether to prefix the tag with "v". E.g., `v1.2.3` vs `1.2.3`. | — | true |
| docs | Whether to generate the docs. | — | false |
Outputs
| name | description |
|---|---|
| hackage-url | The Hackage URL where the package was deployed |