fix release action

Signed-off-by: Martin Schurz <[email protected]>
This commit is contained in:
Martin Schurz committed 2022-07-07 11:27:51 +02:00
1 parent e28e09cd0e
commit f627d2fbfd
1 file changed
+6 -6
+6 -6
View File
@@ -39,6 +39,12 @@ jobs:
exclude_tags_regex: '[0-6]\.\d\.\d' exclude_tags_regex: '[0-6]\.\d\.\d'
issue_line_labels: mysql_hardening,os_hardening,ssh_hardening,nginx_hardening issue_line_labels: mysql_hardening,os_hardening,ssh_hardening,nginx_hardening
# do a second checkout to prevent race situation
# changelog gets updated but action works on old commit id
- uses: actions/checkout@v3
with:
ref: master
- name: push changelog - name: push changelog
uses: github-actions-x/[email protected] uses: github-actions-x/[email protected]
with: with:
@@ -50,12 +56,6 @@ jobs:
name: dev-sec CI name: dev-sec CI
email: [email protected] email: [email protected]
# do a second checkout to prevent race situation
# changelog gets updated but action works on old commit id
- uses: actions/checkout@v3
with:
ref: master
- name: Generate changelog for the release - name: Generate changelog for the release
run: | run: |
sed '/## \[${{ steps.previoustag.outputs.tag }}\]/Q' CHANGELOG.md > CHANGELOGRELEASE.md sed '/## \[${{ steps.previoustag.outputs.tag }}\]/Q' CHANGELOG.md > CHANGELOGRELEASE.md