mirror of
https://github.com/apricote/releaser-pleaser.git
synced 2026-01-13 13:21:00 +00:00
This change reverses the responsibility for which files the updaters are run on. Now each updater can specify the list of files and wether the files should be created when they do not exist yet. This simplifies the handling of each update in releaserpleaser.go, as we can just iterate over all updaters and call it for each file of that updater. Also update the flags to allow users to easily define which updaters should run.
2.3 KiB
2.3 KiB
GitHub Action
Reference
The action is available as apricote/releaser-pleaser on GitHub.com.
Versions
The apricote/releaser-pleaser action is released together with releaser-pleaser and they share the version number.
The action does not support floating tags (e.g.
v1) right now (#31). You have to use the full version or commit SHA instead:
apricote/releaser-pleaser@v0.2.0.
Inputs
The following inputs are supported by the apricote/releaser-pleaser GitHub Action.
| Input | Description | Default | Example |
|---|---|---|---|
branch |
This branch is used as the target for releases. | main |
master |
token |
GitHub token for creating and updating release PRs | $GITHUB_TOKEN |
${{secrets.RELEASER_PLEASER_TOKEN}} |
extra-files |
List of files that are scanned for version references by the generic updater. | "" |
|
updaters |
List of updaters that are run. Default updaters can be removed by specifying them as -name. Multiple updaters should be concatenated with a comma. Default Updaters: changelog,generic | "" |
-generic,packagejson |
Outputs
The action does not define any outputs.