From f7bdef0f375368d444442f94f7ed62be81689fa3 Mon Sep 17 00:00:00 2001 From: Philipp Stadler <hello@phstadler.com> Date: Wed, 24 Jul 2024 18:27:45 +0200 Subject: [PATCH] fix: adapt CI for moved project --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b9aff42..d50574f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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" -- GitLab