Browse Source

fix

master
Daniel Hübleitner 5 years ago
parent
commit
e15c4017ba
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      .drone.yml

+ 0
- 1
.drone.yml View File

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
 
70
 
71
-  // I have no Idea why not to do this like i did
72
   - PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')
71
   - PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')
73
   - LATEST_VERSION=$(npm view rpclibrary | grep latest | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')
72
   - LATEST_VERSION=$(npm view rpclibrary | grep latest | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')
74
     - if [ "${PACKAGE_VERSION}" != "${LATEST_VERSION}" ]; 
73
     - if [ "${PACKAGE_VERSION}" != "${LATEST_VERSION}" ]; 

Loading…
Cancel
Save