Skip to content

Commit

Permalink
ci: Fix output handling (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
janbuchar authored Jul 26, 2024
1 parent 8673ed5 commit de3b521
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/run_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ jobs:
id: version_number
run: |
if [[ '${{ github.event_name }}' = workflow_dispatch && '${{ github.event.inputs.release_type }}' = custom ]]; then
echo result=$(echo ${{ github.event.inputs.custom_version }} | sed s/^v//) >> $GITHUB_OUTPUT
echo result=$(echo ${{ github.event.inputs.custom_version }} | sed s/^v//) | tee -a $GITHUB_OUTPUT
else
echo result=$(git-cliff --bumped-version | sed s/^v//)
echo result=$(git-cliff --bumped-version | sed s/^v//) | tee -a $GITHUB_OUTPUT
fi
update_changelog:
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
run: |
git commit -am "chore(release): Update changelog [skip ci]"
git push origin master
echo commitish=$(git rev-parse HEAD) >> $GITHUB_OUTPUT
echo commitish=$(git rev-parse HEAD) | tee -a $GITHUB_OUTPUT
create_github_release:
name: Create github release
Expand Down

0 comments on commit de3b521

Please sign in to comment.