This commit is contained in:
wat
2019-09-22 13:34:26 +02:00
parent 62f7025fa9
commit ae0e0ae889
+2 -3
View File
@@ -8,8 +8,7 @@ steps:
commands: commands:
- git config --global user.email "frontwork.me@gmail.com"; - git config --global user.email "frontwork.me@gmail.com";
- git config --global user.name "drone"; - git config --global user.name "drone";
- > - if [ "${PACKAGE_VERSION}" != "${LATEST_VERSION}" ];
if [ "${PACKAGE_VERSION}" != "${LATEST_VERSION}" ];
then then
git tag $PACKAGE_VERSION git tag $PACKAGE_VERSION
git status git status
@@ -18,7 +17,7 @@ steps:
echo 'Version ' echo 'Version '
echo $LATEST_VERSION echo $LATEST_VERSION
echo 'did not change. Don`t push tag to master'; echo 'did not change. Don`t push tag to master';
fi < fi
- echo "${PACKAGE_VERSION}" - echo "${PACKAGE_VERSION}"
- echo "${LATEST_VERSION}" - echo "${LATEST_VERSION}"
environment: environment: