diff --git a/jfrog-oauth/run.sh b/jfrog-oauth/run.sh index ea8d039..2b24d9e 100644 --- a/jfrog-oauth/run.sh +++ b/jfrog-oauth/run.sh @@ -16,7 +16,7 @@ fi export CI=true # Authenticate with the JFrog CLI. jf c rm 0 || true -echo "${ARTIFACTORY_ACCESS_TOKEN}" | jf c add --access-token-stdin --url "${JFROG_URL}" 0 +echo "${ARTIFACTORY_ACCESS_TOKEN}" | jf c add --access-token-stdin --url "${JFROG_URL}" --overwrite 0 if [ -z "${REPOSITORY_NPM}" ]; then echo "🤔 no npm repository is set, skipping npm configuration." diff --git a/jfrog-token/run.sh b/jfrog-token/run.sh index 2e43bd5..77be1e8 100644 --- a/jfrog-token/run.sh +++ b/jfrog-token/run.sh @@ -16,7 +16,7 @@ fi export CI=true # Authenticate with the JFrog CLI. jf c rm 0 || true -echo "${ARTIFACTORY_ACCESS_TOKEN}" | jf c add --access-token-stdin --url "${JFROG_URL}" 0 +echo "${ARTIFACTORY_ACCESS_TOKEN}" | jf c add --access-token-stdin --url "${JFROG_URL}" --overwrite 0 if [ -z "${REPOSITORY_NPM}" ]; then echo "🤔 no npm repository is set, skipping npm configuration."