Skip to content

Commit

Permalink
ci: printing version and notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammin committed May 8, 2024
1 parent d3594ed commit 3cfc92c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Display nextRelease
run: |
echo "Next release version: ${{ steps.semantic-release.outputs.nextRelease.version }}"
echo "Next release notes: ${{ steps.semantic-release.outputs.nextRelease.notes }}"
- name: Discord notification
if: steps.semantic-release.outputs.nextRelease.version != null
uses: Ilshidur/action-discord@master
Expand All @@ -35,6 +40,6 @@ jobs:
DISCORD_EMBEDS: '
[{
"title": "New Release: ${{ steps.semantic-release.outputs.nextRelease.version }}",
"description": "${{ steps.semantic-release.outputs.nextRelease.notes }}",
"description": "Here are the release notes: ${{ steps.semantic-release.outputs.nextRelease.notes }}",
"footer": {"text": "Pushed by ${{ github.event.head_commit.author.name }}"}
}]'

0 comments on commit 3cfc92c

Please sign in to comment.