Skip to content

Commit 83c1a54

Browse files
committed
ci(release): fix fix
1 parent 4cc571f commit 83c1a54

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: Release New Version
22

3+
# on:
4+
# push:
5+
# tags:
6+
# - 'v*'
7+
38
on:
4-
push:
5-
tags:
6-
- 'v*'
9+
pull_request:
710

811
env:
912
RELEASE_VERSION: ''
@@ -28,9 +31,9 @@ jobs:
2831
# flit publish
2932
- name: Create Release Notes
3033
run:
31-
echo "Changelog for release ${env.RELEASE_NOTE_VERSION}:"
32-
cz changelog --file-name ${env.RELEASE_NOTES_BODY_FILE} ${env.RELEASE_NOTE_VERSION}
33-
cat ${env.RELEASE_NOTES_BODY_FILE}
34+
echo "Changelog for release ${RELEASE_NOTE_VERSION}:"
35+
cz changelog --file-name ${RELEASE_NOTES_BODY_FILE} ${RELEASE_NOTE_VERSION}
36+
cat ${RELEASE_NOTES_BODY_FILE}
3437
- name: Create Github Release
3538
uses: softprops/action-gh-release@v1
3639
with:

0 commit comments

Comments
 (0)