From eac41c5e40d14f2a7832653fbe538b867d460c69 Mon Sep 17 00:00:00 2001 From: a-mirecki Date: Mon, 11 Dec 2023 13:41:21 +0100 Subject: [PATCH] create upmconfig --- dist/platforms/ubuntu/entrypoint.sh | 1 + dist/platforms/ubuntu/steps/create_upmconfig.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100755 dist/platforms/ubuntu/steps/create_upmconfig.sh diff --git a/dist/platforms/ubuntu/entrypoint.sh b/dist/platforms/ubuntu/entrypoint.sh index 4db94117e..68bafd457 100755 --- a/dist/platforms/ubuntu/entrypoint.sh +++ b/dist/platforms/ubuntu/entrypoint.sh @@ -12,6 +12,7 @@ mkdir -p "$ACTIVATE_LICENSE_PATH" # source /steps/set_extra_git_configs.sh source /steps/set_gitcredential.sh +source /steps/create_upmconfig.sh source /steps/activate.sh source /steps/build.sh source /steps/return_license.sh diff --git a/dist/platforms/ubuntu/steps/create_upmconfig.sh b/dist/platforms/ubuntu/steps/create_upmconfig.sh new file mode 100755 index 000000000..3e4b0a37f --- /dev/null +++ b/dist/platforms/ubuntu/steps/create_upmconfig.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +echo "[npmAuth.\"https://npm.pkg.github.com/@rrealmdev\"]" > ~/.upmconfig.toml +echo "token = \"$GIT_PRIVATE_TOKEN}\"" >> ~/.upmconfig.toml +echo "email = \"arkadiusz.mirecki@everyrealm.com\"" >> ~/.upmconfig.toml +echo "alwaysAuth = true" >> ~/.upmconfig.toml +