Skip to content

Commit d40bb8f

Browse files
committed
temp: trigger publish test
1 parent d985621 commit d40bb8f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/rust-release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- main
77
- pb/rust-release-cargo # for testing
8+
- release-agents-v* # for testing
89
paths:
910
- 'rust/main/**'
1011
- '.github/workflows/rust-release.yml'
@@ -329,7 +330,7 @@ jobs:
329330
runs-on: depot-ubuntu-latest
330331
needs: check-release-status
331332
if: |
332-
github.ref == 'refs/heads/main' &&
333+
(github.ref == 'refs/heads/main' || github.ref == 'refs/heads/release-agents-v*') &&
333334
((github.event_name == 'workflow_dispatch' && inputs.prerelease) ||
334335
(github.event_name == 'push' && needs.check-release-status.outputs.should_release == 'true'))
335336
steps:
@@ -344,8 +345,8 @@ jobs:
344345
working-directory: ./rust/main
345346
env:
346347
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
347-
IS_PRERELEASE: ${{ github.event_name == 'workflow_dispatch' && inputs.prerelease }}
348-
PRERELEASE_SUFFIX: ${{ inputs.prerelease_suffix }}
348+
IS_PRERELEASE: true
349+
PRERELEASE_SUFFIX: pbio.rc1
349350
BASE_VERSION: ${{ needs.check-release-status.outputs.current_version }}
350351
run: |
351352
git config user.name "github-actions[bot]"

0 commit comments

Comments
 (0)