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