mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 06:27:52 +00:00
Update build_release.yml
This commit is contained in:
@@ -30,24 +30,13 @@ jobs:
|
|||||||
uses: release-drafter/release-drafter@v6
|
uses: release-drafter/release-drafter@v6
|
||||||
with:
|
with:
|
||||||
config-name: release-drafter.yml
|
config-name: release-drafter.yml
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Save release notes to file
|
- name: Save release notes to file
|
||||||
run: |
|
run: |
|
||||||
echo "${{ steps.release_notes.outputs.body }}" > RELEASE_NOTES.md
|
echo "${{ steps.release_notes.outputs.body }}" > RELEASE_NOTES.md
|
||||||
|
|
||||||
- name: Configure Git
|
|
||||||
run: |
|
|
||||||
git config user.name "github-actions[bot]"
|
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
||||||
|
|
||||||
- name: Commit RELEASE_NOTES.md
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
run: |
|
|
||||||
git add RELEASE_NOTES.md
|
|
||||||
git commit -m "Update RELEASE_NOTES.md for ${{ github.ref_name }}" || echo "No changes to commit"
|
|
||||||
git push
|
|
||||||
|
|
||||||
- name: Run build script
|
- name: Run build script
|
||||||
run: npm run release
|
run: npm run release
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user