Skip to content

Commit

Permalink
feat: allow specifying release-plz version (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoieni authored Feb 19, 2023
1 parent 4add18b commit 1591baa
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@ inputs:
description: "Path to the git cliff configuration file. Defaults to the `keep a changelog` configuration."
required: false
git_release:
description: "Publish the GitHub release for the created git tag. (Default: `true`)"
description: "Publish the GitHub release for the created git tag. (Default: `true`)."
default: "true"
required: false
version:
description: "Release-plz version to use. It must be an existing git tag name. For example `release-plz-v0.2.45`. (Default: `latest`)."
default: "latest"
required: false
branding:
icon: "zap"
color: "yellow"
Expand All @@ -37,9 +41,10 @@ runs:
shell: bash
- name: Install release-plz
uses: jaxxstorm/[email protected]
with: # Grab the latest version
with:
repo: MarcoIeni/release-plz
cache: enable # only works on custom release-plz tag
tag: ${{ inputs.version }}
cache: enable # cache only works on custom release-plz version
- run: |
if [[ "${{ inputs.no_changelog }}" != "false" ]]
then
Expand Down

0 comments on commit 1591baa

Please sign in to comment.