From e98f92645a51a43e80ceda754673410c6dadfcb8 Mon Sep 17 00:00:00 2001 From: forgejo-actions Date: Thu, 26 Jun 2025 15:22:27 +0000 Subject: [PATCH 1/3] Release 1.0.7 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4b97bc4..63aa510 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.oguerreiro.resilient resilient - 1.0.7-SNAPSHOT + 1.0.7 jar Resilient Description for Resilient From c4ac52c53523b33bf768735b8cf99c3397361c50 Mon Sep 17 00:00:00 2001 From: forgejo-actions Date: Thu, 26 Jun 2025 15:34:19 +0000 Subject: [PATCH 2/3] Start next development cycle 1.0.8-SNAPSHOT --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4b97bc4..57fcf51 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.oguerreiro.resilient resilient - 1.0.7-SNAPSHOT + 1.0.8-SNAPSHOT jar Resilient Description for Resilient From b3e7810b5e5042237077c698eb03aebb4bcb1942 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 26 Jun 2025 17:10:00 +0100 Subject: [PATCH 3/3] Update .forgejo/workflows/release.yml --- .forgejo/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index a02c17e..7b8d83e 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -228,9 +228,10 @@ jobs: echo "Created release ID: $RELEASE_ID" # Upload artifact - JAR_FILE=$(ls target/resilient*.jar | head -n 1) + # NOTE: For safety, the artifact to upload is expected to be the EXACT $VERSION of this branch. If not, something is wrong. + JAR_FILE=$(ls target/resilient-$VERSION.jar | head -n 1) echo "Attaching file : $JAR_FILE" - curl -X POST "$API/repos/$REPO/releases/$RELEASE_ID/assets?name=resilient.jar" \ + curl -X POST "$API/repos/$REPO/releases/$RELEASE_ID/assets?name=resilient-$VERSION.jar" \ -H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \ -H "Content-Type: application/java-archive" \ --data-binary @"$JAR_FILE"