Skip to content

Commit 98a89aa

Browse files
committed
refactor: move NEW_VERSION_TYPE to workflow-level env
All input-derived env vars are now consistently defined at workflow level: NEW_VERSION_TYPE, PRERELEASE, DRY_RUN. https://claude.ai/code/session_01ULoEJZPc1AfKpew9Pz8w9H
1 parent a09a635 commit 98a89aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ on:
2626
default: false
2727

2828
env:
29+
NEW_VERSION_TYPE: ${{ inputs.newversion }}
2930
PRERELEASE: ${{ inputs.prerelease }}
3031
DRY_RUN: ${{ inputs.environment == 'dry-run' }}
3132

@@ -74,7 +75,6 @@ jobs:
7475
working-directory: apps/cli
7576
env:
7677
LATEST_TAG: ${{ steps.get_latest_tag.outputs.latest_tag }}
77-
NEW_VERSION_TYPE: ${{ inputs.newversion }}
7878
run: |
7979
npm version "$LATEST_TAG" --no-git-tag-version --allow-same-version
8080

0 commit comments

Comments
 (0)