aboutsummaryrefslogtreecommitdiff
path: root/lux-jvm/commands.md
diff options
context:
space:
mode:
Diffstat (limited to 'lux-jvm/commands.md')
-rw-r--r--lux-jvm/commands.md18
1 files changed, 17 insertions, 1 deletions
diff --git a/lux-jvm/commands.md b/lux-jvm/commands.md
index 42b24ba39..071b66f88 100644
--- a/lux-jvm/commands.md
+++ b/lux-jvm/commands.md
@@ -40,7 +40,7 @@ cd ~/lux/stdlib/ \
```
cd ~/lux/lux-jvm/ \
-&& mvn install:install-file -Dfile=target/program.jar -DgroupId=com.github.luxlang -DartifactId=lux-jvm -Dversion=0.7.0-SNAPSHOT -Dpackaging=jar
+&& mvn install:install-file -Dfile=target/program.jar -DgroupId=com.github.luxlang -DartifactId=lux-jvm -Dversion=0.7.0 -Dpackaging=jar
cd ~/lux/lux-jvm/ && mvn deploy:deploy-file \
-Durl=https://$NEXUS_USERNAME:$NEXUS_PASSWORD@oss.sonatype.org/content/repositories/snapshots/ \
@@ -51,3 +51,19 @@ cd ~/lux/lux-jvm/ && mvn deploy:deploy-file \
-Dpackaging=jar
```
+# Release
+
+```
+LUX_VERSION=0.7.0 && \
+cd ~/lux/lux-jvm/ && \
+lein pom && \
+mv pom.xml RELEASE/lux-jvm-$LUX_VERSION.pom && \
+mv target/program.jar RELEASE/lux-jvm-$LUX_VERSION.jar && \
+cd RELEASE && \
+touch README.md && \
+zip lux-jvm-$LUX_VERSION-sources.jar README.md && \
+zip lux-jvm-$LUX_VERSION-javadoc.jar README.md && \
+rm README.md && \
+for file in *.*; do gpg -ab $file; done
+```
+