fix
This commit is contained in:
@@ -68,7 +68,6 @@ steps:
|
|||||||
- git config --global user.email "frontwork.me@gmail.com"
|
- git config --global user.email "frontwork.me@gmail.com"
|
||||||
- git config --global user.name "drone"
|
- git config --global user.name "drone"
|
||||||
|
|
||||||
// I have no Idea why not to do this like i did
|
|
||||||
- PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')
|
- 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:]]')
|
- LATEST_VERSION=$(npm view rpclibrary | grep latest | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')
|
||||||
- if [ "${PACKAGE_VERSION}" != "${LATEST_VERSION}" ];
|
- if [ "${PACKAGE_VERSION}" != "${LATEST_VERSION}" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user