From e9041100c8e2c6dc4ec4e556ddb9e8850c64e8c2 Mon Sep 17 00:00:00 2001 From: ADoyle Date: Fri, 6 Sep 2024 20:08:11 +0800 Subject: [PATCH] ci: add workflow: release --- .github/workflows/release.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..699ec87 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,22 @@ +name: release + +on: + push: + tags: + - "v*.*.*" + - "v*.*.*-*" + +permissions: + contents: write + +jobs: + build: + runs-on: ubuntu-22.04 + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Release + uses: softprops/action-gh-release@v1 + with: + body: Please read the [CHANGELOG](https://github.com/${{github.repository}}/blob/master/CHANGELOG.md#${{github.ref_name}}).