Skip to content

Commit 2e25e4d

Browse files
committed
move RELEASE_TYPE to script
1 parent b1088fb commit 2e25e4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/trigger_release_new.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ jobs:
115115
# because there will be the exact opposite needs as well.
116116
- name: Prepare Version Packages
117117
run: pnpm tsx scripts/release/version-packages.ts
118+
env:
119+
RELEASE_TYPE: ${{ github.event.inputs.releaseType }}
118120

119121
- name: Create Release Pull Request
120122
id: changesets
@@ -123,7 +125,6 @@ jobs:
123125
version: pnpm ci:version
124126
env:
125127
GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
126-
RELEASE_TYPE: ${{ github.event.inputs.releaseType }}
127128

128129
# Add label to verify the PR is created from this workflow.
129130
- name: Add label to PR

0 commit comments

Comments
 (0)