This commit is contained in:
Daniel Hübleitner
2019-09-22 12:57:34 +02:00
parent eacd14b502
commit 54044a86b0
-1
View File
@@ -67,7 +67,6 @@ steps:
commands:
- git config --global user.email "frontwork.me@gmail.com"
- git config --global user.name "drone"
- PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')
- LATEST_VERSION=$(npm view rpclibrary | grep latest | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')
- if [ "${PACKAGE_VERSION}" != "${LATEST_VERSION}" ];