From c0a49cc98b1aa4f3e960f070894c2127e9040043 Mon Sep 17 00:00:00 2001 From: "Yan-Luca L." Date: Mon, 24 Jun 2024 19:09:19 +0200 Subject: [PATCH] =?UTF-8?q?.github/workflows/release.yml=20gel=C3=B6scht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 55 ----------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 55dc437..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: release -on: - push: - branches: - - master - tags: - - 'v*.*.*' - pull_request: - types: - - labeled - -jobs: - release: - if: github.event.action != 'labeled' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - # Bump version on merging Pull Requests with specific labels. - # (bump:major,bump:minor,bump:patch) - - id: bumpr - if: "!startsWith(github.ref, 'refs/tags/')" - uses: haya14busa/action-bumpr@v1 - - # Update corresponding major and minor tag. - # e.g. Update v1 and v1.2 when releasing v1.2.3 - - uses: haya14busa/action-update-semver@v1 - if: "!steps.bumpr.outputs.skip" - with: - tag: ${{ steps.bumpr.outputs.next_version }} - - # Get tag name. - - id: tag - uses: haya14busa/action-cond@v1 - with: - cond: "${{ startsWith(github.ref, 'refs/tags/') }}" - if_true: ${{ github.ref }} - if_false: ${{ steps.bumpr.outputs.next_version }} - - # Create release - - if: "steps.tag.outputs.value != ''" - env: - TAG_NAME: ${{ steps.tag.outputs.value }} - CURRENT: ${{ steps.bumpr.outputs.current_version }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - gh release create "${TAG_NAME}" -t "Release ${TAG_NAME/refs\/tags\//}" --generate-notes --notes-start-tag "${CURRENT}" - - release-check: - if: github.event.action == 'labeled' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Post bumpr status comment - uses: haya14busa/action-bumpr@v1