Skip to content

Commit

Permalink
ci: fix main yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
levinzonr committed Mar 28, 2024
1 parent 21d63c8 commit 812a9fe
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ jobs:
chmod +x ./get_changelog.sh
CHANGELOG="$(./get_changelog.sh $VERSION)"
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "changelog=$CHANGELOG" >> $GITHUB_OUTPUT
echo "changelog<<EOF" >> $GITHUB_OUTPUT
echo "$CHANGELOG" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
# Remove old release drafts by using the curl request for the available releases with a draft flag
- name: Remove Old Release Drafts
Expand All @@ -77,7 +75,4 @@ jobs:
gh release create v${{ steps.properties.outputs.version }} \
--draft \
--title "v${{ steps.properties.outputs.version }}" \
--notes "$(cat << 'EOM'
${{ steps.properties.outputs.changelog }}
EOM
)"
--notes "$(cat << 'EOM' ${{ steps.properties.outputs.changelog }} EOM )"

0 comments on commit 812a9fe

Please sign in to comment.