fix
This commit is contained in:
+2
-3
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user