Delete .forgejo/workflows/post-release.yml
Some checks failed
Build Resilient App. / build (push) Has been cancelled

post-release is now done in the last step of release.yml
This commit is contained in:
root 2025-06-11 16:12:52 +01:00
parent a7511cbea7
commit b5a29a7b7f

View file

@ -1,39 +0,0 @@
name: Post Release - Bump Version
on:
push:
tags:
- 'xxv*'
jobs:
bump:
runs-on: docker
steps:
- name: Checkout main
uses: actions/checkout@v3
with:
ref: master
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
- name: Bump to next SNAPSHOT version
run: |
CURRENT=$(echo "${GITHUB_REF##refs/tags/v}")
MAJOR=$(echo $CURRENT | cut -d. -f1)
MINOR=$(echo $CURRENT | cut -d. -f2)
PATCH=$(echo $CURRENT | cut -d. -f3)
NEXT_PATCH=$((PATCH + 1))
NEXT_VERSION="$MAJOR.$MINOR.$NEXT_PATCH-SNAPSHOT"
mvn versions:set -DnewVersion=$NEXT_VERSION
mvn versions:commit
git config user.name "forgejo-actions"
git config user.email "ci@forgejo.local"
git commit -am "Start next development cycle $NEXT_VERSION"
git push origin main