ci: add UNIX timestamp to version number (#5967)

Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com>
This commit is contained in:
Rodry 2021-06-29 20:27:47 +01:00 committed by GitHub
parent 853be621ac
commit 706c6eae60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ jobs:
- name: Publish
run: |
npm version --git-tag-version=false $(jq --raw-output '.version' package.json).$(git rev-parse --verify HEAD)
npm version --git-tag-version=false $(jq --raw-output '.version' package.json).$(git rev-parse --short HEAD).$(date +%s)
npm publish --tag dev || true
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}