Skip to content

Commit

Permalink
feat(release): allow for npm dist tag override
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-olszewski committed Feb 4, 2025
1 parent 4df22b0 commit 41001f8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/turborepo-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ on:
dry_run:
description: "Do a dry run, skipping the final publish step."
type: boolean
tag-override:
description: "Override default npm dist-tag for the release. Should only be used for backporting"
required: false
type: string

jobs:
stage:
Expand All @@ -58,7 +62,7 @@ jobs:
git config --global user.email '[email protected]'
- name: Version
run: |
./scripts/version.js ${{ inputs.increment }}
./scripts/version.js ${{ inputs.increment }} ${{ inputs.tag-override }}
cat version.txt
- name: Stage Commit
id: stage
Expand Down

0 comments on commit 41001f8

Please sign in to comment.