Skip to content

Commit

Permalink
Move release information to environment variables (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems authored Dec 6, 2023
1 parent 809c86d commit e5e268c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
- name: Create Github Release
continue-on-error: true
run: hub release create -t ${{ github.sha }} -m "${{ github.event.commits[0].message }}" $(date +%G-W%V-%u)
run: hub release create -t $SHA -m $MESSAGE $(date +%G-W%V-%u)
env:
SHA: ${{ github.sha }}
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
MESSAGE: ${{ github.event.commits[0].message }}
- name: Send notification to Discord
continue-on-error: true
uses: ./.github/actions/discord-send
Expand Down

0 comments on commit e5e268c

Please sign in to comment.