Skip to content

Commit

Permalink
Improve relase
Browse files Browse the repository at this point in the history
  • Loading branch information
kirek007 committed Jan 31, 2023
1 parent 52907fa commit d53b7bb
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Package and Release Python Application

on:
push:
branches:
- main
tags:
- "v*.*.*"

jobs:
build:
Expand Down Expand Up @@ -32,16 +32,23 @@ jobs:
mkdir release
cp resources/* release
cp dist/ws_osd_gen.exe release
tar -a -c -f "pre-release-${{ github.sha }}-windows.zip" release
tar -a -c -f "release-${{ github.sha }}-windows.zip" release
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: master-${{ github.sha }}
name: Pre-release ${{ github.sha }}
prerelease: true
name: Release ${{ github.ref_name }}
prerelease: false
draft: true
fail_on_unmatched_files: true
generate_release_notes: true
files: pre-release-${{ github.sha }}-windows.zip
append_body: "This is latest build from master branch"
files: release-${{ github.sha }}-windows.zip
append_body: true
body: |
This is a latest release from master branch.
---
## Coffee needed
If you like tool, you can buy me a coffee so keep working more overnights :)
<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>

0 comments on commit d53b7bb

Please sign in to comment.