Skip to content

Commit e5e268c

Browse files
authored
Move release information to environment variables (#773)
1 parent 809c86d commit e5e268c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/stable.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ jobs:
2929
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
3030
- name: Create Github Release
3131
continue-on-error: true
32-
run: hub release create -t ${{ github.sha }} -m "${{ github.event.commits[0].message }}" $(date +%G-W%V-%u)
32+
run: hub release create -t $SHA -m $MESSAGE $(date +%G-W%V-%u)
3333
env:
34+
SHA: ${{ github.sha }}
3435
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
36+
MESSAGE: ${{ github.event.commits[0].message }}
3537
- name: Send notification to Discord
3638
continue-on-error: true
3739
uses: ./.github/actions/discord-send

0 commit comments

Comments
 (0)