From d71144e07d11bd4623e107ac95883dcb0434895d Mon Sep 17 00:00:00 2001 From: melad Date: Mon, 15 Jul 2024 21:15:16 +0300 Subject: [PATCH] [MS-586] Auto release creation --- .github/workflows/auto-release.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/auto-release.yml diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml new file mode 100644 index 0000000000..d19e1d1a0b --- /dev/null +++ b/.github/workflows/auto-release.yml @@ -0,0 +1,20 @@ +name: Create GitHub Release +on: + push: + tags: + - 'v*' +jobs: + create-release: + runs-on: ubuntu-latest + permissions: + contents: write # A write permission For auto release creation + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ github.ref_name }} + steps: + - name: Create Release + run: | + gh release create "$tag" \ + --repo="$GITHUB_REPOSITORY" \ + --title="$tag" \ + --generate-notes