aboutsummaryrefslogtreecommitdiff
path: root/lux-jvm
diff options
context:
space:
mode:
Diffstat (limited to 'lux-jvm')
-rw-r--r--lux-jvm/commands.md18
-rw-r--r--lux-jvm/project.clj4
2 files changed, 19 insertions, 3 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
+```
+
diff --git a/lux-jvm/project.clj b/lux-jvm/project.clj
index 38e56ffdb..a77d134ac 100644
--- a/lux-jvm/project.clj
+++ b/lux-jvm/project.clj
@@ -1,4 +1,4 @@
-(def version "0.6.5")
+(def version "0.7.0")
(def repo "https://github.com/LuxLang/lux")
(def sonatype "https://oss.sonatype.org")
(def sonatype-releases (str sonatype "/service/local/staging/deploy/maven2/"))
@@ -19,7 +19,7 @@
:scm {:name "git"
:url ~(str repo ".git")}
- :dependencies [[com.github.luxlang/lux-bootstrapper "0.6.6-SNAPSHOT"]
+ :dependencies [[com.github.luxlang/lux-bootstrapper ~version]
[com.github.luxlang/lux-jvm-function "0.6.5"]
;; [com.github.luxlang/stdlib ~version]
]