diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 7b8d83e..a02c17e 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -228,10 +228,9 @@ jobs: echo "Created release ID: $RELEASE_ID" # Upload artifact - # 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) + JAR_FILE=$(ls target/resilient*.jar | head -n 1) echo "Attaching file : $JAR_FILE" - curl -X POST "$API/repos/$REPO/releases/$RELEASE_ID/assets?name=resilient-$VERSION.jar" \ + curl -X POST "$API/repos/$REPO/releases/$RELEASE_ID/assets?name=resilient.jar" \ -H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \ -H "Content-Type: application/java-archive" \ --data-binary @"$JAR_FILE" diff --git a/pom.xml b/pom.xml index 57fcf51..63aa510 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.oguerreiro.resilient resilient - 1.0.8-SNAPSHOT + 1.0.7 jar Resilient Description for Resilient