Last active
October 17, 2016 14:19
-
-
Save fomkin/26525f660a28ab8b77be35973425f684 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REPOSITORY="-DrepositoryId=haxemojos-nexus-releases -Durl=http://repo.haxemojos.org/content/repositories/releases" | |
OPTS="-DgeneratePom=false" | |
NAME="-DgroupId=org.haxe.compiler -DartifactId=haxe-compiler -Dversion=$1" | |
mvn deploy:deploy-file $NAME -Dclassifier=win -Dpackaging=zip -Dfile=haxe-$1-win.zip $REPOSITORY $OPTS | |
mvn deploy:deploy-file $NAME -Dclassifier=osx -Dpackaging=tgz -Dfile=haxe-$1-osx.tar.gz $REPOSITORY $OPTS | |
mvn deploy:deploy-file $NAME -Dclassifier=linux32 -Dpackaging=tgz -Dfile=haxe-$1-linux32.tar.gz $REPOSITORY $OPTS | |
mvn deploy:deploy-file $NAME -Dclassifier=linux64 -Dpackaging=tgz -Dfile=haxe-$1-linux64.tar.gz $REPOSITORY $OPTS | |
mvn deploy:deploy-file $NAME -Dpackaging=pom -Dfile=pom.xml $REPOSITORY $OPTS | |
NAME="-DgroupId=org.nekovm -DartifactId=nekovm -Dversion=$1" | |
mvn deploy:deploy-file $NAME -Dclassifier=win -Dpackaging=zip -Dfile=neko-$1-win.zip $REPOSITORY $OPTS | |
mvn deploy:deploy-file $NAME -Dclassifier=osx -Dpackaging=tgz -Dfile=neko-$1-osx.tar.gz $REPOSITORY $OPTS | |
mvn deploy:deploy-file $NAME -Dclassifier=linux32 -Dpackaging=tgz -Dfile=neko-$1-linux32.tar.gz $REPOSITORY $OPTS | |
mvn deploy:deploy-file $NAME -Dclassifier=linux64 -Dpackaging=tgz -Dfile=neko-$1-linux64.tar.gz $REPOSITORY $OPTS | |
mvn deploy:deploy-file $NAME -Dpackaging=pom -Dfile=pom.xml $REPOSITORY $OPTS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment