We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3fbe9ba + 1a86dd5 commit 2b44e7bCopy full SHA for 2b44e7b
.github/workflows/build.yml
@@ -132,11 +132,11 @@ jobs:
132
- name: Prepare package
133
id: package
134
run: |
135
- if [ ${{ github.ref_name }} = 'master' || ${{ github.ref_name }} = 'main' ]; then
136
- echo "This is the main branch"
+ if [ ${{ github.event_name }} = release ]; then
+ echo "This is stable release"
137
echo "tag=latest" >> $GITHUB_OUTPUT
138
else
139
- echo "This is the develop branch"
+ echo "This is the develop release"
140
./scripts/jqout.sh '.version+="-${{ github.ref_name }}-${{ github.sha }}"' package.json
141
echo "tag=experimental" >> $GITHUB_OUTPUT
142
fi
0 commit comments