From 1577ac166fecd4ae5adb089e4b53ff838670ac52 Mon Sep 17 00:00:00 2001 From: Luis Alvergue Date: Thu, 11 Jul 2024 15:01:00 +0000 Subject: [PATCH] ci: add tag-based Release workflow --- .github/workflows/release.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..790e59653 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +name: Create GitHub release + +on: + push: + tags: + # release tags + - "202[3-9].[0-9][0-9].[0-9]+" + +jobs: + release: + runs-on: ubuntu-latest + permissions: + # https://github.com/softprops/action-gh-release#permissions + contents: write + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Release + uses: softprops/action-gh-release@v2 + with: + prerelease: false + generate_release_notes: true