Skip to content

Commit 2b44e7b

Browse files
committed
Merge branch 'hotfix/1.0.0'
2 parents 3fbe9ba + 1a86dd5 commit 2b44e7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,11 @@ jobs:
132132
- name: Prepare package
133133
id: package
134134
run: |
135-
if [ ${{ github.ref_name }} = 'master' || ${{ github.ref_name }} = 'main' ]; then
136-
echo "This is the main branch"
135+
if [ ${{ github.event_name }} = release ]; then
136+
echo "This is stable release"
137137
echo "tag=latest" >> $GITHUB_OUTPUT
138138
else
139-
echo "This is the develop branch"
139+
echo "This is the develop release"
140140
./scripts/jqout.sh '.version+="-${{ github.ref_name }}-${{ github.sha }}"' package.json
141141
echo "tag=experimental" >> $GITHUB_OUTPUT
142142
fi

0 commit comments

Comments
 (0)