diff --git a/CHANGELOG.md b/CHANGELOG.md
index c2247378d..1d90adec8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -98,6 +98,10 @@ release that first shipped the module.
jobs cover the newest Clojure and the oldest and newest supported tmux on
Linux and macOS. (#20)
+- **`libtmux.publication` now requires `libtmuxVersion`.** A build that omits
+ this Gradle property fails during configuration before it can publish under
+ the fallback snapshot version. (#199)
+
- **CI rebuilds incompatible cached tmux installations before running
tests.** The tmux matrix restored a build made on another runner image and
failed at `tmux -V` on Ubuntu 26.04 with `NCURSES6_TINFO_6.4.current` missing
diff --git a/RELEASING.md b/RELEASING.md
index 9fa7e7861..ed5b25639 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -15,9 +15,10 @@ Cut a release by tagging the commit, with a `v` before the version:
$ git tag v0.1.N && git push origin v0.1.N
```
-The workflow reads the version from the tag, refuses a snapshot, and refuses
-anything that is not a shape this project publishes. It then stages one Central
-Portal deployment for every module. Nothing publishes by itself: the
+A tag push takes the version from the tag. To run the workflow manually, select
+the existing release tag and supply its version in the workflow input. Both
+paths refuse a snapshot or a version outside the supported release format.
+The workflow then stages one Central Portal deployment for every module. The
maintainer publishes the deployment by hand in the Portal, as in the last step
of [the order below](#the-order-to-do-this-in).
diff --git a/build-logic/conventions/src/main/kotlin/libtmux.publication.gradle.kts b/build-logic/conventions/src/main/kotlin/libtmux.publication.gradle.kts
index 7648c3a1b..da457693d 100644
--- a/build-logic/conventions/src/main/kotlin/libtmux.publication.gradle.kts
+++ b/build-logic/conventions/src/main/kotlin/libtmux.publication.gradle.kts
@@ -27,7 +27,7 @@ plugins.withId("java") {
}
group = "io.github.libtmux"
-version = providers.gradleProperty("libtmuxVersion").getOrElse("0.0.1-alpha.1-SNAPSHOT")
+version = providers.gradleProperty("libtmuxVersion").get()
// Supplied by CI as ORG_GRADLE_PROJECT_signingInMemoryKey, and absent on a developer's machine. A
// build that demanded it everywhere could not run publishToMavenLocal, which is how a publication
diff --git a/build-logic/conventions/src/test/kotlin/io/github/libtmux/buildlogic/PublicationVersionTest.kt b/build-logic/conventions/src/test/kotlin/io/github/libtmux/buildlogic/PublicationVersionTest.kt
new file mode 100644
index 000000000..481d19d8d
--- /dev/null
+++ b/build-logic/conventions/src/test/kotlin/io/github/libtmux/buildlogic/PublicationVersionTest.kt
@@ -0,0 +1,34 @@
+package io.github.libtmux.buildlogic
+
+import java.nio.file.Files
+import java.nio.file.Path
+import kotlin.test.assertContains
+import org.gradle.testkit.runner.GradleRunner
+import org.junit.jupiter.api.Test
+import org.junit.jupiter.api.io.TempDir
+
+class PublicationVersionTest {
+
+ @Test
+ fun `publication requires a version and honors a command line override`(@TempDir project: Path) {
+ Files.writeString(project.resolve("settings.gradle"), "rootProject.name = 'version-probe'")
+ Files.writeString(project.resolve("build.gradle"), "plugins { id 'java-library'; id 'libtmux.publication' }")
+ val runner =
+ GradleRunner.create()
+ .withProjectDir(project.toFile())
+ .withPluginClasspath()
+ .withEnvironment(System.getenv() - "ORG_GRADLE_PROJECT_libtmuxVersion")
+ val task = "generatePomFileForMavenPublication"
+ val args = listOf(task, "--max-workers=1")
+ val pom = project.resolve("build/publications/maven/pom-default.xml")
+
+ assertContains(runner.withArguments(args).buildAndFail().output, "libtmuxVersion")
+
+ Files.writeString(project.resolve("gradle.properties"), "libtmuxVersion=0.1.3-SNAPSHOT\n")
+ runner.withArguments(args).build()
+ assertContains(Files.readString(pom), "0.1.3-SNAPSHOT")
+
+ runner.withArguments(args + "-PlibtmuxVersion=0.1.3").build()
+ assertContains(Files.readString(pom), "0.1.3")
+ }
+}