File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,16 @@ jobs:
2020 echo "TAG_VERSION=$(git describe --abbrev=0)" >> $GITHUB_ENV
2121 echo "CURRENT_VERSION=$(node -e "console.log('v' + require('./package.json').version)")" >> $GITHUB_ENV
2222 echo Environment has TAG_VERSION ${{ env.TAG_VERSION }} and CURRENT_VERSION ${{ env.CURRENT_VERSION }}
23- - name : Create tag with Git
24- if : ${{ env.TAG_VERSION != env.CURRENT_VERSION }}
25- run : |
26- git tag -a -m "Published ${{ env.CURRENT_VERSION }}" ${{ env.CURRENT_VERSION }}
27- git push --follow-tags
28- - name : Publish package to NPM
29- if : ${{ env.TAG_VERSION != env.CURRENT_VERSION }}
30- run : echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc && npm publish --access public
31- env :
32- NPM_AUTH_TOKEN : ${{ secrets.TOKEN_NPM }}
23+ # - name: Create tag with Git
24+ # if: ${{ env.TAG_VERSION != env.CURRENT_VERSION }}
25+ # run: |
26+ # git tag -a -m "Published ${{ env.CURRENT_VERSION }}" ${{ env.CURRENT_VERSION }}
27+ # git push --follow-tags
28+ # - name: Publish package to NPM
29+ # if: ${{ env.TAG_VERSION != env.CURRENT_VERSION }}
30+ # run: echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc && npm publish --access public
31+ # env:
32+ # NPM_AUTH_TOKEN: ${{ secrets.TOKEN_NPM }}
3333 - name : Create GitHub release
3434 if : ${{ env.TAG_VERSION != env.CURRENT_VERSION }}
3535 run : |
Original file line number Diff line number Diff line change 11{
22 "name" : " json-as-xlsx" ,
3- "version" : " 2.3.5 " ,
3+ "version" : " 2.3.6 " ,
44 "main" : " index.js" ,
55 "license" : " MIT" ,
66 "types" : " types/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments