|
@ -15,7 +15,7 @@ jobs: |
|
|
registry-url: https://registry.npmjs.org/ |
|
|
registry-url: https://registry.npmjs.org/ |
|
|
- run: npm version --no-git-tag-version $TAG |
|
|
- run: npm version --no-git-tag-version $TAG |
|
|
env: |
|
|
env: |
|
|
TAG: ${{ github.ref }} |
|
|
|
|
|
|
|
|
TAG: ${{ github.event.release.tag_name }} |
|
|
- run: npm publish |
|
|
- run: npm publish |
|
|
env: |
|
|
env: |
|
|
GITHUB_TOKEN: ${{ secrets.github_token }} |
|
|
GITHUB_TOKEN: ${{ secrets.github_token }} |
|
@ -25,7 +25,7 @@ jobs: |
|
|
- run: git add package.json |
|
|
- run: git add package.json |
|
|
- run: git commit --messsage "release $TAG" |
|
|
- run: git commit --messsage "release $TAG" |
|
|
env: |
|
|
env: |
|
|
TAG: ${{ github.ref }} |
|
|
|
|
|
|
|
|
TAG: ${{ github.event.release.tag_name }} |
|
|
- run: git remote add deploy https://${GITHUB_TOKEN}@github.com/${{ github.repository }}.git |
|
|
- run: git remote add deploy https://${GITHUB_TOKEN}@github.com/${{ github.repository }}.git |
|
|
env: |
|
|
env: |
|
|
GITHUB_TOKEN: ${{ secrets.github_token }} |
|
|
GITHUB_TOKEN: ${{ secrets.github_token }} |
|
|