Skip to content

Commit

Permalink
test: logs
Browse files Browse the repository at this point in the history
  • Loading branch information
taorepoara committed Jul 19, 2023
1 parent b5bcf26 commit 856393a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions jobs/release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ inputs:
outputs:
version:
description: "The next version discovered by conventional commits"
value: ${{ steps.semantic-release.outputs.new_release_version }}
value: ${{ steps.semantic-release.outputs.new-release-published }}
will-release:
description: "Whether the next version is a prerelease or not"
value: ${{ steps.semantic-release.outputs.new_release_published == 'true' }}
value: ${{ steps.semantic-release.outputs.new-release-published == 'true' }}

runs:
using: "composite"
Expand Down Expand Up @@ -88,4 +88,7 @@ runs:
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
run: npx -p conventional-changelog-conventionalcommits@5 -p semantic-release/git -p semantic-release-export-data -p semantic-release@19 semantic-release $(if [ "${{inputs.dry-run}}" != "false" ]; then echo "--dry-run"; fi)
run: npx -p conventional-changelog-conventionalcommits@5 -p semantic-release/git -p semantic-release-export-data -p semantic-release@19 semantic-release $(if [ "${{inputs.dry-run}}" != "false" ]; then echo "--dry-run"; fi) && cat $GITHUB_OUTPUT
outputs:
new-release-published: ${{ steps.semantic-release.outputs.new-release-published == 'true' }}
new-release-version: ${{ steps.semantic-release.outputs.new-release-version }}

0 comments on commit 856393a

Please sign in to comment.