Skip to content

Commit ea62d29

Browse files
committed
WIP: always make release for latest, and make specific release for tags
1 parent 51820bf commit ea62d29

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/cmake-test.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ jobs:
100100
find . -type f \( -name "*.tar.gz" -o -name "*.zip" \)
101101
102102
- name: Update firestarr-latest release (manual runs)
103-
if: github.event_name == 'workflow_dispatch'
104103
uses: softprops/action-gh-release@v2
105104
with:
106105
tag_name: firestarr-latest
@@ -124,3 +123,18 @@ jobs:
124123
files: |
125124
./firestarr*/*.tar.gz
126125
./firestarr*/*.zip
126+
127+
- name: Attach to release (release events)
128+
if: github.ref_type == 'tag'
129+
with:
130+
tag_name: firestarr-${{ github.ref }}
131+
name: "FireSTARR ${{ github.ref }}"
132+
body: |
133+
**FireSTARR ref:** ${{ github.ref }}
134+
**Built:** ${{ github.run_id }}
135+
**Workflow run:** https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
136+
prerelease: true
137+
make_latest: false
138+
files: |
139+
./firestarr*/*.tar.gz
140+
./firestarr*/*.zip

0 commit comments

Comments
 (0)