Browse Source

fix

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

+ 2
- 2
.drone.yml View File

8
   commands:
8
   commands:
9
   - git config --global user.email "frontwork.me@gmail.com"
9
   - git config --global user.email "frontwork.me@gmail.com"
10
   - git config --global user.name "drone"
10
   - git config --global user.name "drone"
11
-  - > 
11
+  - >
12
     if [ "${PACKAGE_VERSION}" != "${LATEST_VERSION}" ]; 
12
     if [ "${PACKAGE_VERSION}" != "${LATEST_VERSION}" ]; 
13
     then
13
     then
14
       git tag $PACKAGE_VERSION
14
       git tag $PACKAGE_VERSION
18
       echo 'Version '
18
       echo 'Version '
19
       echo $LATEST_VERSION 
19
       echo $LATEST_VERSION 
20
       echo 'did not change. Don`t push tag to master'; 
20
       echo 'did not change. Don`t push tag to master'; 
21
-    fi
21
+    fi <
22
   - echo "${PACKAGE_VERSION}"
22
   - echo "${PACKAGE_VERSION}"
23
   - echo "${LATEST_VERSION}"
23
   - echo "${LATEST_VERSION}"
24
   environment:
24
   environment:

Loading…
Cancel
Save