-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the workflow text optional if there is a rlease workfow defined
- Loading branch information
1 parent
cb38dcd
commit ef5a45f
Showing
3 changed files
with
14 additions
and
6 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 |
---|---|---|
@@ -1,10 +1,12 @@ | ||
# changie-release-action | ||
Automate version and release management using [changie](https://github.com/miniscruff/changie) | ||
|
||
This action creates a new PR with an updated `CHANGELOG.md` file. When merged it will automatically | ||
create a new tag and trigger another GitHub action workflow that can then do the actual release. | ||
This action creates a new PR with an updated `CHANGELOG.md` file. When merged it | ||
will automatically create a new tag and trigger another GitHub action workflow | ||
that can then do the actual release. | ||
|
||
The workflow is inspired both by [changie](https://github.com/miniscruff/changie) and [@changesets/action](https://github.com/changesets/action) | ||
The workflow is inspired both by [changie](https://github.com/miniscruff/changie) | ||
and [@changesets/action](https://github.com/changesets/action) | ||
|
||
## Usage | ||
|
||
|
@@ -34,11 +36,15 @@ jobs: | |
uses: labd/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
||
# Optionally run a command with the new version number when the new | ||
# version is determined. | ||
version-command: 'echo "New version is $PACKAGE_VERSION" > version.txt' | ||
|
||
# Trigger another release workflow to do the actual release. | ||
# Set to for example `release.yaml` to trigger that workflow. | ||
# Default is no trigger | ||
release-workflow: 'release.yaml' | ||
release-workflow: 'release.yaml' | ||
``` | ||
## Triggering a release | ||
|
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