From f2b385c5af9d647ecce93bc17500baaa1c8aa6b8 Mon Sep 17 00:00:00 2001 From: Neel Shah Date: Wed, 25 Feb 2026 13:28:56 +0100 Subject: [PATCH] Simplify naming of release workflows * Remove old `build_release.yml` never used * Rename `build_batch_release.yml` -> `build_release.yml` * Rename `prepare_batch_release.yml` -> `release.yml` \# skip-changelog --- .github/workflows/build_batch_release.yml | 23 ------------------- .github/workflows/build_release.yml | 18 ++++----------- ...{prepare_batch_release.yml => release.yml} | 2 +- 3 files changed, 5 insertions(+), 38 deletions(-) delete mode 100644 .github/workflows/build_batch_release.yml rename .github/workflows/{prepare_batch_release.yml => release.yml} (97%) diff --git a/.github/workflows/build_batch_release.yml b/.github/workflows/build_batch_release.yml deleted file mode 100644 index 9e8ed0776..000000000 --- a/.github/workflows/build_batch_release.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Build Batch Release - -on: - push: - branches: - - release/** -jobs: - build: - name: Build gems - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 3.4 - - name: Build gem source - run: ruby .scripts/batch_build.rb - - name: Archive Artifacts - uses: actions/upload-artifact@v4 - with: - name: ${{ github.sha }} - path: sentry*/*.gem diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index ac02f9a3e..6b837e18f 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -3,31 +3,21 @@ name: Build Release on: push: branches: - - release-*/** + - release/** jobs: build: - name: Build + name: Build gems runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: 3.4 - - name: Capture sdk name - uses: actions-ecosystem/action-regex-match@v2 - id: regex-match - with: - text: ${{ github.ref }} - regex: 'refs\/heads\/release-(sentry-\w+)\/.*' - - name: Set sdk-directory path - run: echo ${{format('sdk-directory={0}', steps.regex-match.outputs.group1)}} >> $GITHUB_ENV - name: Build gem source - working-directory: ${{env.sdk-directory}} - run: make build + run: ruby .scripts/batch_build.rb - name: Archive Artifacts uses: actions/upload-artifact@v4 with: name: ${{ github.sha }} - path: ${{env.sdk-directory}}/*.gem + path: sentry*/*.gem diff --git a/.github/workflows/prepare_batch_release.yml b/.github/workflows/release.yml similarity index 97% rename from .github/workflows/prepare_batch_release.yml rename to .github/workflows/release.yml index 84c688a3f..36f84f734 100644 --- a/.github/workflows/prepare_batch_release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Prepare Batch Release +name: Release on: workflow_dispatch: inputs: