Skip to content

Commit faa2853

Browse files
authored
Simplify naming of release workflows (#2871)
* Remove old `build_release.yml` never used * Rename `build_batch_release.yml` -> `build_release.yml` * Rename `prepare_batch_release.yml` -> `release.yml` \# skip-changelog
1 parent 71c8623 commit faa2853

3 files changed

Lines changed: 5 additions & 38 deletions

File tree

.github/workflows/build_batch_release.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/build_release.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,21 @@ name: Build Release
33
on:
44
push:
55
branches:
6-
- release-*/**
6+
- release/**
77
jobs:
88
build:
9-
name: Build
9+
name: Build gems
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
13-
- uses: actions/setup-node@v4
1413
- name: Set up Ruby
1514
uses: ruby/setup-ruby@v1
1615
with:
1716
ruby-version: 3.4
18-
- name: Capture sdk name
19-
uses: actions-ecosystem/action-regex-match@v2
20-
id: regex-match
21-
with:
22-
text: ${{ github.ref }}
23-
regex: 'refs\/heads\/release-(sentry-\w+)\/.*'
24-
- name: Set sdk-directory path
25-
run: echo ${{format('sdk-directory={0}', steps.regex-match.outputs.group1)}} >> $GITHUB_ENV
2617
- name: Build gem source
27-
working-directory: ${{env.sdk-directory}}
28-
run: make build
18+
run: ruby .scripts/batch_build.rb
2919
- name: Archive Artifacts
3020
uses: actions/upload-artifact@v4
3121
with:
3222
name: ${{ github.sha }}
33-
path: ${{env.sdk-directory}}/*.gem
23+
path: sentry*/*.gem

.github/workflows/prepare_batch_release.yml renamed to .github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Prepare Batch Release
1+
name: Release
22
on:
33
workflow_dispatch:
44
inputs:

0 commit comments

Comments
 (0)