From 55a031686c196db39a2a2928e73241fcbb7fb3a2 Mon Sep 17 00:00:00 2001 From: alterNERDtive Date: Mon, 30 May 2022 21:28:02 +0200 Subject: [PATCH] auto draft a release on tag push --- .github/workflows/create-release.yaml | 18 ++++++++++++++++++ plugins.sln | 1 + 2 files changed, 19 insertions(+) create mode 100644 .github/workflows/create-release.yaml diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml new file mode 100644 index 0000000..afe56dc --- /dev/null +++ b/.github/workflows/create-release.yaml @@ -0,0 +1,18 @@ +name: Create release on tag push + +on: + push: + tags: + - 'releases/*' + +jobs: + release: + name: Create draft release + runs-on: ubuntu-latest + + steps: + - name: Draft release + uses: ncipollo/release-action@v1 + with: + bodyFile: "CHANGELOG.md" + draft: true diff --git a/plugins.sln b/plugins.sln index 70c0a6e..dff94cf 100644 --- a/plugins.sln +++ b/plugins.sln @@ -17,6 +17,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution ProjectSection(SolutionItems) = preProject .editorconfig = .editorconfig CHANGELOG.md = CHANGELOG.md + .github\workflows\create-release.yaml = .github\workflows\create-release.yaml Directory.build.props = Directory.build.props mkdocs.yml = mkdocs.yml README.md = README.md