test versioning
This commit is contained in:
parent
6a175e2944
commit
b1c541083b
1 changed files with 1 additions and 1 deletions
|
@ -4,5 +4,5 @@ LATESTSHA=$(curl -s https://api.github.com/repos/ciderapp/Cider/branches/stable
|
|||
COMMITSINCESTABLE=$(git rev-list $LATESTSHA..HEAD --count)
|
||||
VERSION=$(grep '"version":.*' package.json | cut -d '"' -f 4 | head -1)
|
||||
echo
|
||||
NEWVERSION=${VERSION/-/.}-$COMMITSINCESTABLE
|
||||
NEWVERSION=${VERSION/-/.}.$COMMITSINCESTABLE
|
||||
npm version $NEWVERSION
|
Loading…
Add table
Add a link
Reference in a new issue