Skip to content

Commit

Permalink
fix(release): reference correct output names
Browse files Browse the repository at this point in the history
  • Loading branch information
shakefu committed Jun 17, 2022
1 parent ab1b834 commit ec1b727
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ inputs:
outputs:
new-release-published:
description: Whether a new release was published
value: ${{ steps.release.outputs.new-release-published }}
value: ${{ steps.release.outputs.new_release_published }}
new-release-version:
description: Version of the new release
value: ${{ steps.release.outputs.new-release-version }}
value: ${{ steps.release.outputs.new_release_version }}
new-release-major-version:
description: Major version of the new release
value: ${{ steps.release.outputs.release-major }}
value: ${{ steps.release.outputs.new_release_major_version }}
runs:
using: composite
steps:
Expand All @@ -39,20 +39,20 @@ runs:
fetch-depth: 0
- name: Semantic release
id: release
uses: cycjimmy/semantic-release-action@v2
uses: cycjimmy/semantic-release-action@v3
env:
GITHUB_TOKEN: ${{ inputs.github-token || env.GITHUB_TOKEN }}
with:
dry_run: ${{ inputs.dry-run }}
extra_plugins: ${{ inputs.extra-plugins }}
- name: Fetch tags
if: steps.release.outputs.new-release-published == 'true'
if: steps.release.outputs.new_release_published == 'true'
shell: bash
run: |
git fetch --tags
git clean -fd
- name: Major branch
if: steps.release.outputs.new-release-published == 'true'
if: steps.release.outputs.new_release_published == 'true'
uses: open-turo/action-major-release@v1
with:
major-version: ${{ steps.release.outputs.new-release-major-version }}
major-version: ${{ steps.release.outputs.new_release_major_version }}

0 comments on commit ec1b727

Please sign in to comment.