File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -266,3 +266,33 @@ jobs:
266
266
with :
267
267
name : stgit-msi-package
268
268
path : contrib/wix/stgit-*.msi
269
+
270
+ github-release :
271
+ name : GitHub Release
272
+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
273
+ runs-on : ubuntu-latest
274
+ needs : [release, windows-build]
275
+ steps :
276
+ - name : Checkout Repository
277
+ uses : actions/checkout@v4
278
+ with :
279
+ fetch-depth : 0
280
+ - name : Fetch Tag
281
+ run : |
282
+ git fetch --force origin "+${GITHUB_REF}:${GITHUB_REF}"
283
+ - uses : actions/download-artifact@v3
284
+ with :
285
+ path : artifacts
286
+ - name : Make source archive
287
+ run : |
288
+ ./contrib/release/make-archive.sh artifacts
289
+ - name : Draft Release
290
+ uses : softprops/action-gh-release@v1
291
+ with :
292
+ draft : true
293
+ fail_on_unmatched_files : true
294
+ files : |
295
+ artifacts/stgit-*.tar.gz
296
+ artifacts/stgit-packages/*.deb
297
+ artifacts/stgit-packages/*.rpm
298
+ artifacts/stgit-msi-package/*.msi
You can’t perform that action at this time.
0 commit comments