diff options
Diffstat (limited to 'lux-python/commands.md')
-rw-r--r-- | lux-python/commands.md | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/lux-python/commands.md b/lux-python/commands.md index c49f375f1..e26a6840c 100644 --- a/lux-python/commands.md +++ b/lux-python/commands.md @@ -28,7 +28,7 @@ cd ~/lux/stdlib/ \ ``` cd ~/lux/lux-python/ \ -&& mvn install:install-file -Dfile=target/program.jar -DgroupId=com.github.luxlang -DartifactId=lux-python -Dversion=0.7.0-SNAPSHOT -Dpackaging=jar +&& mvn install:install-file -Dfile=target/program.jar -DgroupId=com.github.luxlang -DartifactId=lux-python -Dversion=0.7.0 -Dpackaging=jar cd ~/lux/lux-python/ && mvn deploy:deploy-file \ -Durl=https://$NEXUS_USERNAME:$NEXUS_PASSWORD@oss.sonatype.org/content/repositories/snapshots/ \ @@ -39,3 +39,20 @@ cd ~/lux/lux-python/ && mvn deploy:deploy-file \ -Dpackaging=jar ``` +# Release + +``` +LUX_PROJECT=lux-python && \ +LUX_VERSION=0.7.0 && \ +cd ~/lux/$LUX_PROJECT/ && \ +lux pom && \ +mv pom.xml RELEASE/$LUX_PROJECT-$LUX_VERSION.pom && \ +mv target/program.jar RELEASE/$LUX_PROJECT-$LUX_VERSION.jar && \ +cd RELEASE && \ +touch README.md && \ +zip $LUX_PROJECT-$LUX_VERSION-sources.jar README.md && \ +zip $LUX_PROJECT-$LUX_VERSION-javadoc.jar README.md && \ +rm README.md && \ +for file in *.*; do gpg -ab $file; done +``` + |