Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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})"
Expand Down Expand Up @@ -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
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.gradle.configuration-cache=true
Loading