Skip to content

Commit

Permalink
>>>>
Browse files Browse the repository at this point in the history
  • Loading branch information
rindeal committed Mar 17, 2024
1 parent 6c316cf commit 21f2cb0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ jobs:
env: { GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" }
steps:
- run: |
set -e
gh release view --json body --jq .body "${{ github.sha }}" > autogen-notes.md
sed -i -e "s|${{ github.sha }}|${{ github.ref_name }}|g" -- autogen-notes.md
echo "#Foo" >> notes.md
echo >> notes.md
echo "**bar** _baz_" >> notes.md
echo >> notes.md
cat autogen-notes.md >> notes.md
gh release edit --draft=false --notes-file notes.md --repo=${{ github.repository }} "${{ github.sha }}"
set -e
gh release view --json body --jq .body "${{ github.sha }}" > autogen-notes.md
sed -i -e "s|${{ github.sha }}|${{ github.ref_name }}|g" -- autogen-notes.md
echo "#Foo" >> notes.md
echo >> notes.md
echo "**bar** _baz_" >> notes.md
echo >> notes.md
cat autogen-notes.md >> notes.md
gh release edit --draft=false --notes-file notes.md --repo=${{ github.repository }} "${{ github.sha }}"

0 comments on commit 21f2cb0

Please sign in to comment.