|
@@ -67,8 +67,6 @@ steps:
|
67
|
67
|
commands:
|
68
|
68
|
- git config --global user.email "frontwork.me@gmail.com"
|
69
|
69
|
- git config --global user.name "drone"
|
70
|
|
- - export PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')
|
71
|
|
- - export LATEST_VERSION=$(npm view rpclibrary | grep latest | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')
|
72
|
70
|
- echo 'Package Version: '; echo ${PACKAGE_VERSION}
|
73
|
71
|
- echo 'Latest Version: '; echo ${LATEST_VERSION}
|
74
|
72
|
environment:
|