Skip to content

Commit

Permalink
Merge pull request #23003 from storybookjs/fix-publish-script
Browse files Browse the repository at this point in the history
Release: Don't pick patches when prereleasing
  • Loading branch information
JReinhold committed Jun 9, 2023
2 parents 9bd8aa4 + 4fb6a28 commit 29be327
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,11 @@ jobs:

# tags are needed to get list of patches to label as picked
- name: Fetch git tags
if: github.ref_name == 'main-release'
run: git fetch --tags origin

- name: Label patch PRs as picked
if: github.ref_name == 'main-release'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn release:label-patches
Expand Down

0 comments on commit 29be327

Please sign in to comment.