You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fury.apache.org by ch...@apache.org on 2024/09/27 14:29:45 UTC
(fury) branch main updated: build: ban these sbt commands (#1862)
This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fury.git
The following commit(s) were added to refs/heads/main by this push:
new aed153cc build: ban these sbt commands (#1862)
aed153cc is described below
commit aed153cccec9f81d0451aeea893eb617dc339eab
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Fri Sep 27 15:29:40 2024 +0100
build: ban these sbt commands (#1862)
Releases of jars to Maven Central should be finished using
repository.apache.org UI.
These sbt commands are still allowed:
* sonatypePrepare
* sonatypeBundleUpload
* sonatypeClose
---
scala/build.sbt | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/scala/build.sbt b/scala/build.sbt
index 926b0188..d9f50781 100644
--- a/scala/build.sbt
+++ b/scala/build.sbt
@@ -47,3 +47,12 @@ libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.2.19" % Test,
"dev.zio" %% "zio" % "2.1.7" % Test,
)
+
+// Exclude sonatypeRelease and sonatypeBundleRelease commands because we
+// don't want to release this project to Maven Central without having
+// to complete the release using the repository.apache.org web site.
+commands := commands.value.filterNot { command =>
+ command.nameOption.exists { name =>
+ name.contains("sonatypeRelease") || name.contains("sonatypeBundleRelease")
+ }
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org