You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2022/01/03 22:11:44 UTC

[logging-log4j-scala] tag v12.1-rc2 created (now 0104eee)

This is an automated email from the ASF dual-hosted git repository.

mattsicker pushed a change to tag v12.1-rc2
in repository https://gitbox.apache.org/repos/asf/logging-log4j-scala.git.


      at 0104eee  (commit)
This tag includes the following new commits:

     new 7b08a7f  Fix up release script
     new 0104eee  Setting version to 12.1

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[logging-log4j-scala] 01/02: Fix up release script

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mattsicker pushed a commit to tag v12.1-rc2
in repository https://gitbox.apache.org/repos/asf/logging-log4j-scala.git

commit 7b08a7fdf8f4e32fb596ae53173f0ee525c06d94
Author: Matt Sicker <ma...@apache.org>
AuthorDate: Mon Jan 3 16:04:52 2022 -0600

    Fix up release script
---
 create-distributions.sh | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/create-distributions.sh b/create-distributions.sh
index 8f9ef10..90f8970 100755
--- a/create-distributions.sh
+++ b/create-distributions.sh
@@ -24,13 +24,14 @@ function sign_file() {
 function create_sources_from_tag() {
   out_format=$1
   release_version=$2
-  git archive --prefix=apache-log4j-api-scala-${release_version}-src/ -o target/apache-log4j-api-scala-${release_version}-src.${out_format} v${release_version}
+  tag_name=v$release_version-rc$3
+  git archive --prefix=apache-log4j-api-scala-${release_version}-src/ -o target/apache-log4j-api-scala-${release_version}-src.${out_format} ${tag_name}
   sign_file target/apache-log4j-api-scala-${release_version}-src.${out_format}
 }
 
 function create_all_sources_from_tag() {
-  create_sources_from_tag zip $1
-  create_sources_from_tag tar.gz $1
+  create_sources_from_tag zip $1 $2
+  create_sources_from_tag tar.gz $1 $2
 }
 
 function create_sources() {
@@ -44,7 +45,7 @@ function create_all_sources() {
 }
 
 function create_all_binaries() {
-  ./sbt -batch "; + package; packageDistributions"
+  sbt -batch "; + package; packageDistributions"
 }
 
 function create_all() {
@@ -55,10 +56,11 @@ function create_all() {
 function main() {
   case $1 in
     SNAPSHOT) create_all;;
-    *) create_all_sources_from_tag $1; create_all_binaries;;
+    *) create_all_sources_from_tag $1 $2; create_all_binaries;;
   esac
 }
 
 tag=${1:-SNAPSHOT}
+rc=${2:-1}
 
-main ${tag}
+main ${tag} ${rc}

[logging-log4j-scala] 02/02: Setting version to 12.1

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mattsicker pushed a commit to tag v12.1-rc2
in repository https://gitbox.apache.org/repos/asf/logging-log4j-scala.git

commit 0104eee940765d30beffa164cc24eb13b58718ce
Author: Matt Sicker <ma...@apache.org>
AuthorDate: Mon Jan 3 16:05:59 2022 -0600

    Setting version to 12.1
---
 version.sbt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/version.sbt b/version.sbt
index 2e486f1..ace6cd2 100644
--- a/version.sbt
+++ b/version.sbt
@@ -1 +1 @@
-version in ThisBuild := "12.2-SNAPSHOT"
+version in ThisBuild := "12.1"