diff --git a/.github/workflows/make-release.yml b/.github/workflows/make-release.yml new file mode 100644 index 0000000..3661694 --- /dev/null +++ b/.github/workflows/make-release.yml @@ -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 diff --git a/tools/README.md b/tools/README.md index 51d3e0c..b02acdc 100644 --- a/tools/README.md +++ b/tools/README.md @@ -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.