Skip to content

Commit 987a40d

Browse files
authored
chore: simpler expression
1 parent fee9e8e commit 987a40d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-storybook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
env:
4141
BRANCH_REF: ${{ github.event.pull_request.head.ref }}
4242
run: |
43-
tag=$(branch=$BRANCH_REF; echo ${branch/\//.})
43+
tag=$(echo ${BRANCH_REF/\//.})
4444
if [[ $tag == next.* ]];
4545
then
4646
echo "##[set-output name=tag;]$tag"

0 commit comments

Comments
 (0)