From 1d3e47a19da8d860af75afe77ca69b581b49f064 Mon Sep 17 00:00:00 2001 From: wat Date: Sun, 22 Sep 2019 13:10:33 +0200 Subject: [PATCH] fix --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 0b120d1..c671b32 100644 --- a/.drone.yml +++ b/.drone.yml @@ -69,7 +69,7 @@ steps: - git config --global user.name "drone" - export PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') - export LATEST_VERSION=$(npm view rpclibrary | grep latest | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') - - >- if [ "${PACKAGE_VERSION}" != "${LATEST_VERSION}" ]; + >- if [ "${PACKAGE_VERSION}" != "${LATEST_VERSION}" ]; then git tag $PACKAGE_VERSION git status