Skip to content

Commit

Permalink
create upmconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
a-mirecki committed Dec 11, 2023
1 parent 103bbde commit eac41c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/platforms/ubuntu/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions dist/platforms/ubuntu/steps/create_upmconfig.sh
Original file line number Diff line number Diff line change
@@ -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 = \"[email protected]\"" >> ~/.upmconfig.toml
echo "alwaysAuth = true" >> ~/.upmconfig.toml

0 comments on commit eac41c5

Please sign in to comment.