Commit 2a5a7586 authored by Mehmet Kozan's avatar Mehmet Kozan

ci test.

parent bc0717d9
Pipeline #14835211 failed with stages
in 1 minute and 48 seconds
......@@ -36,13 +36,14 @@ version_check:
- REPO_VERSION=$(npm view $CI_PROJECT_NAME version)
- CURRENT_VERSION=$(node -p "require('./package.json').version")
- echo $CI_REPOSITORY_URL
- echo $CI_JOB_TOKEN
- |
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 $CI_REPOSITORY_URL
git tag ${CURRENT_VERSION} master
git push $REPO_TOKEN ${CURRENT_VERSION}
fi
- echo "end of version_check script"
......
{
"name": "crawler-url-parser",
"version": "1.3.5",
"version": "1.3.8",
"description": "An `URL` parser for crawling purpose.",
"main": "crawler-url-parser.js",
"keywords": [
......
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