Browse Source

fix

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

+ 2
- 3
.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
-  - >
12
-    if [ "${PACKAGE_VERSION}" != "${LATEST_VERSION}" ]; 
11
+  - if [ "${PACKAGE_VERSION}" != "${LATEST_VERSION}" ]; 
13
     then
12
     then
14
       git tag $PACKAGE_VERSION
13
       git tag $PACKAGE_VERSION
15
       git status
14
       git status
18
       echo 'Version '
17
       echo 'Version '
19
       echo $LATEST_VERSION 
18
       echo $LATEST_VERSION 
20
       echo 'did not change. Don`t push tag to master'; 
19
       echo 'did not change. Don`t push tag to master'; 
21
-    fi <
20
+    fi
22
   - echo "${PACKAGE_VERSION}"
21
   - echo "${PACKAGE_VERSION}"
23
   - echo "${LATEST_VERSION}"
22
   - echo "${LATEST_VERSION}"
24
   environment:
23
   environment:

Loading…
Cancel
Save