mirror of
https://github.com/fmhy/FMHY-SafeGuard.git
synced 2026-03-11 08:55:40 +00:00
Update release.yml
This commit is contained in:
parent
c025e47292
commit
3a7ae1ca72
1 changed files with 2 additions and 4 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -4,11 +4,10 @@ on:
|
|||
push:
|
||||
tags:
|
||||
- 'v*.*.*'
|
||||
workflow_dispatch:
|
||||
workflow_dispatch: # This allows you to manually trigger the workflow from GitHub UI
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
releases: write
|
||||
contents: write # Grants write access to the repository content (including releases)
|
||||
|
||||
jobs:
|
||||
build-and-release:
|
||||
|
|
@ -42,7 +41,6 @@ jobs:
|
|||
awk "/^## \[$VERSION\]/, /^## \[/" CHANGELOG.md >> release_notes.md
|
||||
if ! grep -q "## \[$VERSION\]" release_notes.md; then
|
||||
cat RELEASE.HEAD.md >> release_notes.md
|
||||
fi
|
||||
|
||||
- name: Create GitHub Release
|
||||
id: create_release
|
||||
|
|
|
|||
Loading…
Reference in a new issue