Skip to content

Commit b6caa99

Browse files
authored
fix deploy publish expression. (#3656)
1 parent 3518ef6 commit b6caa99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba # v1.5.3
4040
with:
4141
title: Version Packages (${{ github.ref_name }})
42-
publish: yarn run deploy ${{ !endsWith(github.ref_name, '-rc') && format('--tag {0}', github.ref_name) }}
42+
publish: yarn run deploy ${{ !endsWith(github.ref_name, '-rc') && format('--tag {0}', github.ref_name) || '' }} # no tag for RC branches.
4343
createGithubReleases: false
4444
env:
4545
NPM_TOKEN: '' # Forces OIDC authentication

0 commit comments

Comments
 (0)