Commit e264bbff authored by Mehmet Kozan's avatar Mehmet Kozan

ci protected tags.

parent 834df92a
Pipeline #14840342 passed with stages
in 2 minutes and 5 seconds
......@@ -42,8 +42,8 @@ version_check:
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 $REPO_TOKEN ${CURRENT_VERSION}
git tag v${CURRENT_VERSION} master
git push $REPO_TOKEN v${CURRENT_VERSION}
fi
- echo "end of version_check script"
......@@ -58,6 +58,7 @@ npm_publish:
- echo ${CI_COMMIT_TAG}
- echo ${CI_BUILD_TAG}
- echo "${NPM_TOKEN}"
- echo $GIT_EMAIL
- echo //registry.npmjs.org/:_authToken=${NPM_TOKEN}
- echo //registry.npmjs.org/:_authToken="${NPM_TOKEN}"
- echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > ~/.npmrc
......
{
"name": "crawler-url-parser",
"version": "1.4.1",
"version": "1.4.2",
"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