diff --git a/deploy.sh b/deploy.sh index 79f58b1..ae21ffc 100644 --- a/deploy.sh +++ b/deploy.sh @@ -3,9 +3,8 @@ set -e mvn clean -set -o allexport source .env -set +o allexport +sed -i -e "s/GMSP_OAUTHTOKEN/${GMSP_OAUTHTOKEN}/" settings.xml rm .env mvn -s settings.xml -Drtr.release=true -P release diff --git a/settings.xml b/settings.xml index 90730cc..f5ad1c5 100644 --- a/settings.xml +++ b/settings.xml @@ -6,7 +6,7 @@ github - ${env.GMSP_OAUTHTOKEN} + GMSP_OAUTHTOKEN