Skip to content

Commit

Permalink
generate release
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKunz committed Nov 19, 2024
1 parent 4cd11b3 commit 7308873
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/test-changelog-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,18 @@ jobs:
with:
command: ""
- name: Generate Release Notes
id: vars
id: generate_release_notes
run: |
echo 'foo=bar' >> $GITHUB_OUTPUT
echo 'notes<<RELNOTESEOF' >> $GITHUB_OUTPUT
cat CHANGELOG.md >> $GITHUB_OUTPUT
printf '\nThis release is based on the following upstream versions:\n\n' >> $GITHUB_OUTPUT
./gradlew -q printUpstreamDependenciesMarkdown >> $GITHUB_OUTPUT
echo 'RELNOTESEOF' >> $GITHUB_OUTPUT
- name: Echo release notes
run: echo '${{ steps.vars.outputs.foo }}' && echo '${{ steps.vars.outputs.notes }}'
# - name: Create GitHub Release
# env:
# GH_TOKEN: ${{ github.token }}
# run: |
# gh release create v1.23 \
# --title="Dummy Release" \
# --notes="${{ steps.generate_release_notes.outputs.release_notes }}"
- name: Create GitHub Release
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release create v1.23 \
--title="Dummy Release" \
--notes='${{ steps.generate_release_notes.outputs.notes }}'

0 comments on commit 7308873

Please sign in to comment.