From 8c2113fc3af517be5697838391c062242eac3db0 Mon Sep 17 00:00:00 2001 From: Michael The Date: Sat, 23 Mar 2024 16:04:58 +0100 Subject: [PATCH] Add Github workflow for adding releases --- .github/workflows/create-release.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/create-release.yml diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml new file mode 100644 index 0000000..731d06a --- /dev/null +++ b/.github/workflows/create-release.yml @@ -0,0 +1,28 @@ +name: create-release + +# Only run this workflow when a diepvries/* tag gets pushed +on: + push: + tags: + - diepvries/* + +permissions: + contents: write + +jobs: + build: + name: Create Release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + draft: false + prerelease: false