Commit bc0717d9 authored by Mehmet Kozan's avatar Mehmet Kozan

ci test commit.

parent 0c1f1295
Pipeline #14834894 failed with stages
in 1 minute and 44 seconds
......@@ -35,13 +35,14 @@ version_check:
- echo $CI_PROJECT_NAME
- REPO_VERSION=$(npm view $CI_PROJECT_NAME version)
- CURRENT_VERSION=$(node -p "require('./package.json').version")
- echo $CI_REPOSITORY_URL
- |
if [ "${REPO_VERSION}" != "${CURRENT_VERSION}" ]; then
echo "repo version not equal to current version"
echo REPO_VERSION=${REPO_VERSION}
echo CURRENT_VERSION=${CURRENT_VERSION}
git tag "${CURRENT_VERSION}" master
git push --tags
git push --tags $CI_REPOSITORY_URL
fi
- echo "end of version_check script"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment