File tree Expand file tree Collapse file tree 11 files changed +18
-21
lines changed
Expand file tree Collapse file tree 11 files changed +18
-21
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,12 @@ jobs:
6464 cat release-message.txt
6565
6666 NPM_TAG="latest"
67- if [[ "${GITHUB_REF_NAME}" == *-* ]]; then
68- prerelease=$(echo "$GITHUB_REF_NAME" | cut -d'-' -f2 | cut -d'.' -f1)
69- NPM_TAG=${prerelease:-next}
67+ if [[ $GITHUB_REF_NAME == *"-"* ]]; then
68+ echo "Working on a prerelease version..."
69+ TAG=$(echo "$GITHUB_REF_NAME" | cut -d'-' -f2 | cut -d'.' -f1)
70+ NPM_TAG=${TAG:-next}
7071 fi
72+ echo "NPM_TAG=${NPM_TAG}"
7173 echo "NPM_TAG=${NPM_TAG}" >> $GITHUB_ENV
7274 env :
7375 GITHUB_REF_NAME : ${{ github.ref_name }}
8082 - name : Publish on NPM
8183 working-directory : ./out
8284 run : |
83- NPM_TAG=${{ steps.get_release_data.outputs.NPM_TAG }}
85+ NPM_TAG=" ${{ steps.get_release_data.outputs.NPM_TAG }}"
8486 echo "Publishing with tag: $NPM_TAG"
8587 yarn workspaces foreach -A --no-private npm publish --tolerate-republish --tag ${NPM_TAG:-latest}
8688 env :
Original file line number Diff line number Diff line change 11{
22 "name" : " @storybooker/aws" ,
3- "version" : " 0.19.3-pre.7 " ,
3+ "version" : " 0.19.3-pre.8 " ,
44 "type" : " module" ,
55 "description" : " StoryBooker Adapter for interacting with AWS services." ,
66 "author" : {
Original file line number Diff line number Diff line change 11{
22 "name" : " @storybooker/azure" ,
3- "version" : " 0.19.3-pre.7 " ,
3+ "version" : " 0.19.3-pre.8 " ,
44 "type" : " module" ,
55 "description" : " StoryBooker Adapter for interacting with Azure services." ,
66 "author" : {
Original file line number Diff line number Diff line change 11{
22 "name" : " storybooker" ,
3- "version" : " 0.19.3-pre.7 " ,
3+ "version" : " 0.19.3-pre.8 " ,
44 "type" : " module" ,
55 "bin" : " ./dist/index.js" ,
66 "description" : " Storybooker CLI for uploading builds and files." ,
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://raw.githubusercontent.com/denoland/deno/main/cli/schemas/config-file.v1.json" ,
33 "name" : " @storybooker/core" ,
4- "version" : " 0.19.3-pre.7 " ,
4+ "version" : " 0.19.3-pre.8 " ,
55 "license" : " MIT" ,
66 "publish" : {
77 "include" : [
Original file line number Diff line number Diff line change 11{
22 "name" : " @storybooker/core" ,
3- "version" : " 0.19.3-pre.7 " ,
3+ "version" : " 0.19.3-pre.8 " ,
44 "type" : " module" ,
55 "description" : " Storybooker platform agnostic router core." ,
66 "author" : {
Original file line number Diff line number Diff line change 11{
22 "name" : " @storybooker/gcp" ,
3- "version" : " 0.19.3-pre.7 " ,
3+ "version" : " 0.19.3-pre.8 " ,
44 "type" : " module" ,
55 "description" : " StoryBooker Adapter for interacting with GCP services." ,
66 "author" : {
Original file line number Diff line number Diff line change 11{
22 "name" : " @storybooker/redis" ,
3- "version" : " 0.19.3-pre.7 " ,
3+ "version" : " 0.19.3-pre.8 " ,
44 "type" : " module" ,
55 "description" : " StoryBooker Adapter for interacting with Redis services." ,
66 "author" : {
Original file line number Diff line number Diff line change 11{
22 "name" : " @storybooker/sql" ,
3- "version" : " 0.19.3-pre.7 " ,
3+ "version" : " 0.19.3-pre.8 " ,
44 "type" : " module" ,
55 "description" : " StoryBooker Adapter for interacting with SQL services." ,
66 "author" : {
Original file line number Diff line number Diff line change 11{
22 "name" : " @storybooker/ui" ,
3- "version" : " 0.19.3-pre.7 " ,
3+ "version" : " 0.19.3-pre.8 " ,
44 "type" : " module" ,
55 "description" : " Basic UI for Storybooker app" ,
66 "author" : {
You can’t perform that action at this time.
0 commit comments