From 0f9bc13a34b729d9ae9db31276feb2a66785d06b Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sun, 14 Aug 2022 21:02:22 -0400 Subject: Documentation changes for v0.7.0 --- lux-ruby/commands.md | 19 ++++++++++++++++++- lux-ruby/project.lux | 10 +++++----- 2 files changed, 23 insertions(+), 6 deletions(-) (limited to 'lux-ruby') diff --git a/lux-ruby/commands.md b/lux-ruby/commands.md index 3ec117745..4c966898d 100644 --- a/lux-ruby/commands.md +++ b/lux-ruby/commands.md @@ -28,7 +28,7 @@ cd ~/lux/stdlib/ \ ``` cd ~/lux/lux-ruby/ \ -&& mvn install:install-file -Dfile=target/program.jar -DgroupId=com.github.luxlang -DartifactId=lux-ruby -Dversion=0.7.0-SNAPSHOT -Dpackaging=jar +&& mvn install:install-file -Dfile=target/program.jar -DgroupId=com.github.luxlang -DartifactId=lux-ruby -Dversion=0.7.0 -Dpackaging=jar cd ~/lux/lux-ruby/ && mvn deploy:deploy-file \ -Durl=https://$NEXUS_USERNAME:$NEXUS_PASSWORD@oss.sonatype.org/content/repositories/snapshots/ \ @@ -39,3 +39,20 @@ cd ~/lux/lux-ruby/ && mvn deploy:deploy-file \ -Dpackaging=jar ``` +# Release + +``` +LUX_PROJECT=lux-ruby && \ +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-ruby/project.lux b/lux-ruby/project.lux index 8d759a09b..5608d9920 100644 --- a/lux-ruby/project.lux +++ b/lux-ruby/project.lux @@ -1,7 +1,7 @@ ["" - ["identity" ["com.github.luxlang" "lux-ruby" "0.7.0-SNAPSHOT"] - "description" "A Ruby compiler for Lux." - "info" ["url" "https://github.com/LuxLang/lux" + ["identity" ["com.github.luxlang" "lux-ruby" "0.7.0"] + "info" ["description" "A Ruby 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.6-SNAPSHOT" "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.jruby" "jruby-complete" "9.2.15.0" "jar"]] -- cgit v1.2.3