Add Workflow - release.yml

root 2025-06-11 19:11:03 +01:00
parent 5803e39b59
commit 88762136cd

@ -0,0 +1,13 @@
In .forgejo/workflows/release.yml its defined a automated workflow for releasing a version.
The steps to start is:
- Goto branches (https://git.oguerreiro.com/root/resilient/branches)
- Create a new branch (from master)
- With name : release/<release_number>
- Goto Actions (https://git.oguerreiro.com/root/resilient/actions)
- A new workflow should be running
When it ends, an artifact is added to the actions run page, a zip containing the resilien<release_version>.jar, with name app-backend.
The workflow will automatically change the pom.xml version of the branch, by removing the "-SNAPSHOT" prefix.
In the end, the workflow will automatically will also change the pom.xml version of the master, by incrementing the SNAPSHOT version.