mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +08:00
chore(CI): using circle specific git SHA1 envar
This commit is contained in:
@ -14,7 +14,7 @@ function run {
|
|||||||
git config --global user.name 'Ionitron'
|
git config --global user.name 'Ionitron'
|
||||||
git config --global user.email hi@ionicframework.com
|
git config --global user.email hi@ionicframework.com
|
||||||
|
|
||||||
git show $SHA1~1:package.json > .package.tmp.json
|
git show $CIRCLE_SHA1~1:package.json > .package.tmp.json
|
||||||
OLD_VERSION=$(readJsonProp ".package.tmp.json" "version")
|
OLD_VERSION=$(readJsonProp ".package.tmp.json" "version")
|
||||||
VERSION=$(readJsonProp "package.json" "version")
|
VERSION=$(readJsonProp "package.json" "version")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user