diff --git a/.github/workflows/publish-dev.yml b/.github/workflows/publish-dev.yml index 84286f031..15a05d6c3 100644 --- a/.github/workflows/publish-dev.yml +++ b/.github/workflows/publish-dev.yml @@ -21,7 +21,7 @@ jobs: run: npm ci --ignore-scripts - name: Deprecate old versions - run: npm deprecate discord.js@"~13.0.0-dev" "no longer supported" || true + run: npm deprecate discord.js@"~$(jq --raw-output '.version' package.json)" "no longer supported" || true env: NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}