Add auto-release GH action
This commit is contained in:
1 parent
069945007d
commit
a3e6f97862
2 files changed
+27
-1
No files matched your search
@@ -0,0 +1,25 @@
|
||||
name: Build all and make release on tag
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
make-release:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Drafting release
|
||||
uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0
|
||||
with:
|
||||
draft: true
|
||||
generateReleaseNotes: true
|
||||
+2
-1
@@ -12,4 +12,5 @@ Then tag it
|
||||
git tag X.Y.Z
|
||||
git push origin X.Y.Z
|
||||
|
||||
Then on the GH web interface make a new release from that tag.
|
||||
Then on the GH web interface it will generate a draft release from that tag
|
||||
that can be released if proper through the GUI.
|
||||
Reference in new issue
Block a user