|
|
|
|
67
|
commands:
|
67
|
commands:
|
68
|
- git config --global user.email "frontwork.me@gmail.com"
|
68
|
- git config --global user.email "frontwork.me@gmail.com"
|
69
|
- git config --global user.name "drone"
|
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
|
- echo 'Package Version: '; echo ${PACKAGE_VERSION}
|
70
|
- echo 'Package Version: '; echo ${PACKAGE_VERSION}
|
73
|
- echo 'Latest Version: '; echo ${LATEST_VERSION}
|
71
|
- echo 'Latest Version: '; echo ${LATEST_VERSION}
|
74
|
environment:
|
72
|
environment:
|