Browse Source

fix

master
wat 5 years ago
parent
commit
1d3e47a19d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      .drone.yml

+ 1
- 1
.drone.yml View File

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:]]')
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:]]')
71
   - export LATEST_VERSION=$(npm view rpclibrary | grep latest | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')
72
-  - >- if [ "${PACKAGE_VERSION}" != "${LATEST_VERSION}" ]; 
72
+  >- if [ "${PACKAGE_VERSION}" != "${LATEST_VERSION}" ]; 
73
     then
73
     then
74
       git tag $PACKAGE_VERSION
74
       git tag $PACKAGE_VERSION
75
       git status
75
       git status

Loading…
Cancel
Save