Skip to content

Commit 31d19ec

Browse files
authored
NPM change to push beta/preview build (#121)
* chore: Update CI to target correct ubuntu version and bump version for beta release * chore: Update CI to target correct ubuntu version and bump version for beta release
1 parent fd0c1c0 commit 31d19ec

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.github/workflows/release-cli.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,14 @@ jobs:
121121
working-directory: npm/${{ env.npm_folder }}
122122
env:
123123
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
124-
run: npm publish --access public
124+
run: |
125+
if [[ "${{ env.TAG }}" == *"-preview"* ]]; then
126+
npm publish --access public --tag preview
127+
elif [[ "${{ env.TAG }}" == *"-beta"* ]]; then
128+
npm publish --access public --tag beta
129+
else
130+
npm publish --access public
131+
fi
125132
126133
publish-yaci-devkit:
127134
needs: npm-publish
@@ -151,4 +158,11 @@ jobs:
151158
working-directory: npm/yaci-devkit
152159
env:
153160
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
154-
run: npm publish --access public
161+
run: |
162+
if [[ "${{ env.TAG }}" == *"-preview"* ]]; then
163+
npm publish --access public --tag preview
164+
elif [[ "${{ env.TAG }}" == *"-beta"* ]]; then
165+
npm publish --access public --tag beta
166+
else
167+
npm publish --access public
168+
fi

config/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
tag=0.10.5
1+
tag=0.10.6-preview
22
revision=

0 commit comments

Comments
 (0)