mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 19:04:48 +12:00
ci: use yarn to create new version
This commit is contained in:
parent
9760fd1b77
commit
53971f0de9
1 changed files with 1 additions and 1 deletions
2
.github/workflows/publish-dev.yml
vendored
2
.github/workflows/publish-dev.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
|||
- name: Publish
|
||||
if: steps.pre-release.outputs.release == 'true'
|
||||
run: |
|
||||
npm version --git-tag-version=false $(jq --raw-output '.version' packages/discord.js/package.json).$(date +%s).$(git rev-parse --short HEAD)
|
||||
yarn workspace discord.js version --no-git-tag-version --new-version $(jq --raw-output '.version' packages/discord.js/package.json).$(date +%s).$(git rev-parse --short HEAD)
|
||||
yarn workspace discord.js publish --tag dev || true
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue