From c468103ff63b5f580412306c550a766f6bad440e Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Thu, 23 May 2024 12:04:42 +0300 Subject: [PATCH] Delete .github/workflows/release.yaml We are moving to manual releases. --- .github/workflows/release.yaml | 38 ---------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml deleted file mode 100644 index e90b539..0000000 --- a/.github/workflows/release.yaml +++ /dev/null @@ -1,38 +0,0 @@ -name: Release - -on: - push: - tags: - - "v*" - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - # check if tag name has alpha or beta - - name: Check if tag name has alpha or beta - id: check_tag_name - run: | - set -euo pipefail - if [[ "${{ github.ref }}" =~ -(alpha|beta)- ]]; then - echo "PRE_RELEASE=true" >> $GITHUB_OUTPUT - else - echo "PRE_RELEASE=false" >> $GITHUB_OUTPUT - fi - - # Create a pre release if tag name has alpha or beta - - name: Create pre release - if: steps.check_tag_name.outputs.PRE_RELEASE == 'true' - run: gh release create ${{ github.ref }} -t ${{ github.ref_name }} --prerelease --generate-notes -R ${{ github.repository }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - # Create release - - name: Create release - if: steps.check_tag_name.outputs.PRE_RELEASE == 'false' - run: gh release create ${{ github.ref }} -t ${{ github.ref_name }} --generate-notes -R ${{ github.repository }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}