Skip to content

Commit

Permalink
TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-gray committed Sep 13, 2023
1 parent 39d0631 commit be9bf88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
ref: ref/tags/${{ inputs.tag }}
ref: development@0.0.13-beta
- uses: actions/setup-node@v3
with:
node-version: 20
Expand All @@ -29,3 +29,5 @@ jobs:
IFS='@' read -a strarr <<< $(git describe --tags)
sed -i "s/\"version\": .*/\"version\": \"${strarr[1]}$(echo $([ ${strarr[0]} == "production" ] && echo "" || echo "-${strarr[0]}"))\",/" package.json
npm publish --tag $(echo $([ ${strarr[0]} == "production" ] && echo "latest" || echo ${strarr[0]})) --access public --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit be9bf88

Please sign in to comment.