aboutsummaryrefslogtreecommitdiff
path: root/lux-python
diff options
context:
space:
mode:
authorEduardo Julian2022-08-14 21:02:22 -0400
committerEduardo Julian2022-08-14 21:02:22 -0400
commit0f9bc13a34b729d9ae9db31276feb2a66785d06b (patch)
tree25f8ec214bfe56f7dc7d8be637b06d1ab6a425f6 /lux-python
parent24e4ccef052816f17ccfc55f2e515a07cc9c2067 (diff)
Documentation changes for v0.7.0
Diffstat (limited to '')
-rw-r--r--lux-python/commands.md19
-rw-r--r--lux-python/project.lux10
2 files changed, 23 insertions, 6 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
+```
+
diff --git a/lux-python/project.lux b/lux-python/project.lux
index be674f0dc..1375d5a05 100644
--- a/lux-python/project.lux
+++ b/lux-python/project.lux
@@ -1,7 +1,7 @@
[""
- ["identity" ["com.github.luxlang" "lux-python" "0.7.0-SNAPSHOT"]
- "description" "A Python compiler for Lux."
- "info" ["url" "https://github.com/LuxLang/lux"
+ ["identity" ["com.github.luxlang" "lux-python" "0.7.0"]
+ "info" ["description" "A Python compiler for Lux."
+ "url" "https://github.com/LuxLang/lux"
"scm" "https://github.com/LuxLang/lux.git"
"licenses" [["name" "Lux License v0.1.2"
"url" "https://github.com/LuxLang/lux/blob/master/license.txt"
@@ -15,8 +15,8 @@
"repositories" ["https://oss.sonatype.org/content/repositories/snapshots/"
"https://oss.sonatype.org/service/local/staging/deploy/maven2/"]
- "lux" ["com.github.luxlang" "lux-jvm" "0.7.0-SNAPSHOT" "jar"]
- "dependencies" [... ["com.github.luxlang" "stdlib" "0.6.5" "tar"]
+ "lux" ["com.github.luxlang" "lux-jvm" "0.7.0" "jar"]
+ "dependencies" [... ["com.github.luxlang" "stdlib" "0.7.0" "tar"]
["com.github.luxlang" "lux-jvm-function" "0.6.5" "jar"]
["org.python" "jython-standalone" "2.7.2" "jar"]]