Skip to content
Snippets Groups Projects

fix: adapt CI for moved project

Merged Philipp Pospischil requested to merge fix/ci into main
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -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"
Loading