Compare commits

..

6 commits

Author SHA1 Message Date
b3e7810b5e Update .forgejo/workflows/release.yml 2025-06-26 17:10:00 +01:00
forgejo-actions
c4ac52c535 Start next development cycle 1.0.8-SNAPSHOT 2025-06-26 15:34:19 +00:00
6cfcec5168 Adicionar texto sobre o banner público e privado.
All checks were successful
Release / release (push) Successful in 14m47s
Fixes #18
2025-06-26 16:17:50 +01:00
cd7aa81a8a Update .forgejo/workflows/release.yml 2025-06-26 16:15:21 +01:00
ed76ddb28d Update .forgejo/workflows/release.yml 2025-06-26 13:23:38 +01:00
forgejo-actions
26f007fee5 Start next development cycle 1.0.7-SNAPSHOT 2025-06-26 12:12:42 +00:00
3 changed files with 13 additions and 6 deletions

View file

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

View file

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

View file

@ -1,6 +1,10 @@
<!-- TOP BANNER --> <!-- TOP BANNER -->
<section> <section>
<div class="container-fluid mb-5 p-0"> <div class="container-fluid mb-5 p-0 position-relative">
<img id="home-header" src="content/images/home_banner.jpg" class="img-fluid" alt="Route Zero"> <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> </div>
</section> </section>