Compare commits

..

1 commit

Author SHA1 Message Date
forgejo-actions
e98f92645a Release 1.0.7 2025-06-26 15:22:27 +00:00
2 changed files with 3 additions and 4 deletions

View file

@ -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"

View file

@ -5,7 +5,7 @@
<groupId>com.oguerreiro.resilient</groupId>
<artifactId>resilient</artifactId>
<version>1.0.8-SNAPSHOT</version>
<version>1.0.7</version>
<packaging>jar</packaging>
<name>Resilient</name>
<description>Description for Resilient</description>