Compare commits

..

1 commit

Author SHA1 Message Date
forgejo-actions
05bb4e6ddc Release 1.0.6 2025-06-26 11:55:41 +00:00
3 changed files with 6 additions and 13 deletions

View file

@ -214,7 +214,7 @@ jobs:
REPO="root/resilient"
# Create release
RESPONSE=$(curl -X POST "$API/repos/$REPO/releases" \
RESPONSE=$(curl -s -X POST "$API/repos/$REPO/releases" \
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
-H "Content-Type: application/json" \
-d "{
@ -228,13 +228,10 @@ 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)
echo "Attaching file : $JAR_FILE"
curl -X POST "$API/repos/$REPO/releases/$RELEASE_ID/assets?name=resilient-$VERSION.jar" \
curl -s -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"
--data-binary @"target/resilient*.jar"
# ##################################################################

View file

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

View file

@ -1,10 +1,6 @@
<!-- TOP BANNER -->
<section>
<div class="container-fluid mb-5 p-0 position-relative">
<img id="home-header" src="content/images/home_banner.jpg" alt="Route Zero" class="img-fluid w-100">
<span class="position-absolute bottom-0 start-0 text-white p-3 fs-4 title">
InNOVA NOVA Information System on Environment and Sustainability
</span>
<div class="container-fluid mb-5 p-0">
<img id="home-header" src="content/images/home_banner.jpg" class="img-fluid" alt="Route Zero">
</div>
</section>