Skip to content

Commit 3bcc780

Browse files
authored
fix: Version defined in tags (#332)
Fixes #331 Signed-off-by: Eric Deandrea <eric.deandrea@ibm.com>
1 parent 32c6afc commit 3bcc780

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,14 @@ jobs:
9090
if: steps.verify-files.outputs.should_release == 'true'
9191
run: ./gradlew --no-daemon -Pjava.version=${{ env.JAVA_VERSION }} publish
9292

93+
- name: Tag release
94+
if: steps.verify-files.outputs.should_release == 'true'
95+
env:
96+
JRELEASER_TAG_NAME: "v${{ env.CURRENT_VERSION }}"
97+
run: |
98+
git tag ${{ env.JRELEASER_TAG_NAME }}
99+
git push origin ${{ env.JRELEASER_TAG_NAME }}
100+
93101
- name: Release
94102
if: steps.verify-files.outputs.should_release == 'true'
95103
env:

build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jreleaser {
4646
repoOwner = "docling-project"
4747
name = rootProject.name
4848
sign = true
49-
discussionCategoryName = "announcements"
49+
discussionCategoryName = "Announcements"
50+
skipTag = true
5051

5152
changelog {
5253
formatted = org.jreleaser.model.Active.ALWAYS
@@ -57,7 +58,7 @@ jreleaser {
5758
}
5859
hide {
5960
categories = listOf("merge")
60-
contributors = listOf("GitHub", "dependabot", "docling-java-ops")
61+
contributors = listOf("GitHub", "dependabot", "docling-java-ops", "all-contributors")
6162
}
6263
extraProperties.put("categorizeScopes", true)
6364
}

0 commit comments

Comments
 (0)