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

fix: adapt CI for moved project

parent aeab7903
Branches
Tags
1 merge request!9fix: adapt CI for moved project
Pipeline #14195 passed
......@@ -19,7 +19,7 @@ build:
script:
- NPM_VERSION=$(grep '"version":' package.json -m 1 | cut -d '"' -f 4)
- RELEASE_TAR=card-templates-$NPM_VERSION.tar.gz
- RELEASE_TAR_URL="https://gitlab.phaidra.org/kartenaale/card-templates/-/jobs/$CI_JOB_ID/artifacts/raw/$RELEASE_TAR"
- RELEASE_TAR_URL="https://gitlab.phaidra.org/kartenaale/build/card-templates/-/jobs/$CI_JOB_ID/artifacts/raw/$RELEASE_TAR"
- BUILD_PREFIX="" make $RELEASE_TAR
- echo BUILD_JOB_ID=$CI_JOB_ID > build.env
- echo NPM_VERSION=$NPM_VERSION >> build.env
......@@ -47,7 +47,7 @@ release-package-json-version-as-git-tag:
- if [ -z "$NPM_VERSION_GIT_TAG" ]; then
- echo adding git tag for first commit on main with NPM version ${NPM_VERSION}
- git remote remove origin
- git remote add origin https://oauth:${REPOSITORY_ACCESS_TOKEN}@gitlab.phaidra.org/kartenaale/card-templates.git
- git remote add origin https://oauth:${REPOSITORY_ACCESS_TOKEN}@gitlab.phaidra.org/kartenaale/build/card-templates.git
- git config user.email Cao Cao
- git config user.name cao.cao@ci.kartenaale
- git tag -a $NPM_VERSION -m "Release $NPM_VERSION"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment