mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 17:54:44 +12:00
ci(publish-dev): improve resolving of next version (#5710)
This commit is contained in:
parent
01bb2ac97b
commit
91efe5a611
1 changed files with 1 additions and 1 deletions
2
.github/workflows/publish-dev.yml
vendored
2
.github/workflows/publish-dev.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
|||
|
||||
- name: Publish
|
||||
run: |
|
||||
npm version --git-tag-version=false $(cat package.json | grep -oP '"version": "\K[^"]+(?=")').$(git rev-parse --verify HEAD)
|
||||
npm version --git-tag-version=false $(jq --raw-output '.version' package.json).$(git rev-parse --verify HEAD)
|
||||
npm publish --tag dev || true
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue