File tree Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: Package and Release Python Application
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - main
5
+ tags :
6
+ - " v*.*.* "
7
7
8
8
jobs :
9
9
build :
@@ -32,16 +32,23 @@ jobs:
32
32
mkdir release
33
33
cp resources/* release
34
34
cp dist/ws_osd_gen.exe release
35
- tar -a -c -f "pre- release-${{ github.sha }}-windows.zip" release
35
+ tar -a -c -f "release-${{ github.sha }}-windows.zip" release
36
36
37
37
38
38
- name : Release
39
39
uses : softprops/action-gh-release@v1
40
40
with :
41
- tag_name : master- ${{ github.sha }}
42
- name : Pre-release ${{ github.sha }}
43
- prerelease : true
41
+ name : Release ${{ github.ref_name }}
42
+ prerelease : false
43
+ draft : true
44
44
fail_on_unmatched_files : true
45
45
generate_release_notes : true
46
- files : pre-release-${{ github.sha }}-windows.zip
47
- append_body : " This is latest build from master branch"
46
+ files : release-${{ github.sha }}-windows.zip
47
+ append_body : true
48
+ body : |
49
+ This is a latest release from master branch.
50
+ ---
51
+ ## Coffee needed
52
+ If you like tool, you can buy me a coffee so keep working more overnights :)
53
+
54
+ <a href="https://www.buymeacoffee.com/kirek" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 30px !important;width: 108 !important;" ></a>
You can’t perform that action at this time.
0 commit comments