From 35c7ce576c5a956b885c77a08dba8c593874ef4c 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 | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..fc1b823 --- /dev/null +++ b/.github/workflows/create-release.yml @@ -0,0 +1,25 @@ +name: create-release + +# Only run this workflow when a diepvries/* tag gets pushed +on: + push: + tags: + - diepvries/* + +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