From c4059a39255d78101bf0cab5830a869936c48b65 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sun, 12 Oct 2025 18:41:40 +0200 Subject: [PATCH 1/4] Fix tag detection --- .github/workflows/publish.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 132b165..19660fd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -74,6 +74,9 @@ jobs: if [[ "${GITHUB_REF_TYPE:-}" == "tag" ]]; then is_tag=true echo "🔖 Tag build detected: ${GITHUB_REF#refs/tags/}" + elif [[ "${{ github.event.inputs.tagbuild }}" == "true" ]]; then + is_tag=true + echo "🔖 Tag build detected: triggered by workflow" else is_tag=false echo "🏷️ Not a tag build (ref: ${GITHUB_REF})" @@ -112,9 +115,4 @@ jobs: md5sum ${{ steps.secring.outputs.filePath }} - name: publishAndReleaseToMavenCentral run: | - if [[ "${{ github.event.inputs.tagbuild }}" == "true" ]]; then - tagbuild="true" - else - tagbuild="false" - fi - ./gradlew -Ptagbuild="$tagbuild" publishAndReleaseToMavenCentral + ./gradlew -Ptagbuild="${{ steps.istagbuild.outputs.tagbuild }}" publishAndReleaseToMavenCentral From 8e63ebd39cb8aa121be82bbf578444d4f03c91f9 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sun, 12 Oct 2025 18:45:38 +0200 Subject: [PATCH 2/4] Increase version number --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index cd12bc1..e98f329 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -13,7 +13,7 @@ repositories { group = "io.github.adr" -var version: String = project.findProperty("projVersion")?.toString() ?: "2.0.0" +var version: String = project.findProperty("projVersion")?.toString() ?: "2.0.1" if (project.findProperty("tagbuild")?.toString() != "true") { version += "-SNAPSHOT" } From ab2bd656f0b959784f73f0f55b188da7a80d0e53 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sun, 12 Oct 2025 18:45:43 +0200 Subject: [PATCH 3/4] Enable gradle configruation cache --- gradle.properties | 1 + 1 file changed, 1 insertion(+) create mode 100644 gradle.properties diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..5ad6974 --- /dev/null +++ b/gradle.properties @@ -0,0 +1 @@ +org.gradle.configuration-cache=true From 233bc780eb897834f818ae2b2433d2aef8c28a2b Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sun, 12 Oct 2025 18:46:13 +0200 Subject: [PATCH 4/4] CHANGELOG.md for next iteration --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 958ff75..e122a86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [2.0.0] +## [Unreleased] + +## [2.0.0] - 2025-10-12 ### Added @@ -30,5 +32,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/). First release of embedded ADRs. +[Unreleased]: https://github.com/adr/e-adr/compare/2.0.0...main [2.0.0]: https://github.com/adr/e-adr/compare/1.0.0...2.0.0 [1.0.0]: https://github.com/adr/e-adr/releases/tag/1.0.0