s
This commit is contained in:
parent
462fcbf614
commit
b0718e6247
1 changed files with 4 additions and 5 deletions
|
@ -1,13 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
git rev-list origin..HEAD
|
||||
|
||||
# DEBUGGING
|
||||
curl -s https://api.github.com/repos/ciderapp/Cider/branches/stable
|
||||
|
||||
# | grep sha | cut -d '"' -f 4 | sed 's/v//' | xargs | cut -d' ' -f1 | head -n 1
|
||||
|
||||
LATEST_SHA=$(curl -s https://api.github.com/repos/ciderapp/Cider/branches/stable | grep sha | cut -d '"' -f 4 | sed 's/v//' | xargs | cut -d' ' -f1 | head -n 1)
|
||||
echo $LATEST_SHA
|
||||
COMMITSINCESTABLE=$(git rev-list $LATEST_SHA..HEAD --count)
|
||||
COMMITSINCESTABLE=$(git rev-list 099e41264817ead26607e4552317488378146d0e..HEAD --count)
|
||||
echo $COMMITSINCESTABLE
|
||||
CURRENT_VERSION=$(node -p -e "require('./package.json').version")
|
||||
echo $CURRENT_VERSION
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue