mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 13:32:28 -05:00
Revert "Revert "Add before deploy script that appends version""
This reverts commit 32881a984e
.
This commit is contained in:
parent
0842da0458
commit
7c84e5b418
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ install:
|
|||
before_deploy:
|
||||
- git config --global user.email $(git log --pretty=format:"%ae" -n1)
|
||||
- git config --global user.name $(git log --pretty=format:"%an" -n1)
|
||||
- VPKG=$($(npm bin)/json -f package.json version)
|
||||
- export VERSION=${VPKG/%?/}$(date +%Y%m%d%H%M%S)
|
||||
- npm --no-git-tag-version version $VERSION
|
||||
deploy:
|
||||
- provider: script
|
||||
on:
|
||||
|
|
Loading…
Reference in a new issue