We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7085d7 commit d283323Copy full SHA for d283323
.github/workflows/publish-dev.yml
@@ -24,9 +24,14 @@ jobs:
24
# npm run test is excluded here intentionally
25
run: npm run lint && npm run prettier
26
27
+ - name: Deprecate old versions
28
+ run: 'npm deprecate quickpostgres@"$(npm show quickpostgres@dev version)" "no longer supported" || true'
29
+ env:
30
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
31
+
32
- name: Publish
33
run: |
- npm version --git-tag-version=false $(jq --raw-output '.version' package.json)-$(date +%s)-$(git rev-parse --short HEAD)
34
+ npm version --git-tag-version=false $(jq --raw-output '.version' package.json)-dev.$(date +%s).$(git rev-parse --short HEAD)
35
npm publish --tag dev || true
36
env:
37
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments