Skip to content

Commit

Permalink
Create release & upload dist packages for tagged versions
Browse files Browse the repository at this point in the history
  • Loading branch information
AntumDeluge committed Mar 27, 2023
1 parent 3cb0e50 commit 4bea72b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/deploy_dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,17 @@ jobs:

- name: Package Desktop
run: python3 build.py dist-desktop

- name: Prepare Changes
run: |
python3 build.py -q print-changes > release_notes.tmp
sed -i -e '1 s/^.*$/Changes:\n/' release_notes.tmp
- name: Publish
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
name: 'Version ${{ env.ver }}'
body_path: release_notes.tmp
files: build/dist/*.zip
prerelease: true

0 comments on commit 4bea72b

Please sign in to comment.