Skip to content
Snippets Groups Projects
Commit 8fa86aa7 authored by Philipp Stadler's avatar Philipp Stadler
Browse files

fix: CI typo

parent 900f668d
Branches fix/ci-typo
Tags
2 merge requests!4Fix/ci exit code,!3fix: CI typo
Pipeline #9588 passed
......@@ -38,7 +38,7 @@ publish-package-json-version-as-git-tag:
- main
script:
- NPM_VERSION=$(grep '"version":' package.json -m 1 | cut -d '"' -f 4)
- MATCHING_GIT_TAG=$(git tag | grep ^NPM_VERSION$)
- MATCHING_GIT_TAG=$(git tag | grep ^${NPM_VERSION}$)
- if [ -z $MATCHING_GIT_TAG ]; then
- echo adding git tag for first commit on main with NPM version ${NPM_VERSION}
- git remote remove origin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment