Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dynamic-Mobile-Security/66daaf526e0109636d8bcdc21fd10779 to your computer and use it in GitHub Desktop.
Save Dynamic-Mobile-Security/66daaf526e0109636d8bcdc21fd10779 to your computer and use it in GitHub Desktop.
deploy_to_nexus() {
echo "deploy_to_nexus"
packaging="ipa"
file_name="RickAndMorty.ipa"
groupId="example.RickAndMorty"
artifactId="RickAndMorty"
war_version="1.0"
mvn deploy:deploy-file -DgeneratePom=true -DrepositoryId=maven-dev -Durl=https://nexus.dev.dynamicmobilesecurity.com/repository/maven-releases/ \
-Dpackaging=$packaging \
-Dfile=$file_name \
-DgroupId=$groupId \
-DartifactId=$artifactId \
-Dversion=$war_version \
|| exit 1
}
deploy_to_nexus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment