Skip to content

Commit

Permalink
Added automatic release creation to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
MGraefe committed Jul 9, 2023
1 parent 67b58c8 commit 2c8004a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: CMake

on:
push:
branches: [ "master" ]
tags:
- v1.**
pull_request:
branches: [ "master" ]

Expand Down Expand Up @@ -125,3 +126,11 @@ jobs:
name: plugin-windows
path: ${{github.workspace}}/release/*.ts3_plugin
if-no-files-found: error

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: release/*.ts3_plugin
fail_on_unmatched_files: true
generate_release_notes: true

0 comments on commit 2c8004a

Please sign in to comment.