Skip to content

Commit

Permalink
Nope, that was the wrong fix
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten-adobe committed Sep 13, 2023
1 parent 70c796b commit dc7adf2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
id: generate-changelog
run: |
{
echo 'changelog=<<EOF'
echo 'changelog<<EOF'
git log --format="* %s" ${{ steps.get-latest-tag.outputs.tag }}..HEAD | { grep -v "(IGNORE)" || :; }
echo EOF
} >> "$GITHUB_OUTPUT"
Expand All @@ -47,10 +47,10 @@ jobs:
VERSION: ${{ steps.set-version.outputs.version }}
VERSION_TAG: ${{ steps.set-version.outputs.version_tag }}
LATEST_TAG: ${{ steps.get-latest-tag.outputs.tag }}
CHANGELOG: ${{ steps.generate-changelog.outputs.stdout }}
CHANGELOG: ${{ steps.generate-changelog.outputs.changelog }}

- name: Prevent empty release
if: ${{ steps.generate-changelog.outputs.stdout == '' }}
if: ${{ steps.generate-changelog.outputs.changelog == '' }}
uses: actions/github-script@v3
with:
script: |
Expand All @@ -62,7 +62,7 @@ jobs:
mv CHANGELOG.new.md CHANGELOG.md
env:
VERSION: ${{ steps.set-version.outputs.version }}
CHANGELOG: ${{ steps.generate-changelog.outputs.stdout }}
CHANGELOG: ${{ steps.generate-changelog.outputs.changelog }}

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
- name: Create release
uses: ncipollo/release-action@v1
with:
body: ${{ steps.generate-changelog.outputs.stdout }}
body: ${{ steps.generate-changelog.outputs.changelog }}
commit: ${{ steps.commit.outputs.commit_hash }}
prerelease: true # remove at 1.0
tag: ${{ steps.set-version.outputs.version_tag }}
Expand Down

0 comments on commit dc7adf2

Please sign in to comment.