Skip to content

Commit

Permalink
chore: Push on release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Nov 28, 2024
1 parent f1acd8e commit 34c4201
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,21 @@ jobs:
}]
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export TZ="Europe/Berlin"
git checkout -b release/${{ inputs.releaseversion }}
mvn release:prepare release:perform -B -DreleaseVersion=${{ inputs.releaseversion }} -DpushChanges=false -DskipITs=true -DlocalCheckout=true -D"arguments=-DskipITs=true"
# write version info
cat <<EOF >target/config.json
{
"version": "${{ inputs.releaseversion }}"
}
EOF
- name: Create Pull Request
id: create-pr
uses: peter-evans/create-pull-request@v7
Expand All @@ -72,20 +87,6 @@ jobs:
assignees: hypery2k
draft: false

- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export TZ="Europe/Berlin"
mvn release:prepare release:perform -B -DreleaseVersion=${{ inputs.releaseversion }} -DskipITs=true -DlocalCheckout=true -D"arguments=-DskipITs=true"
# write version info
cat <<EOF >target/config.json
{
"version": "${{ inputs.releaseversion }}"
}
EOF
- name: Conventional Changelog Action
uses: TriPSs/conventional-changelog-action@v5
with:
Expand Down

0 comments on commit 34c4201

Please sign in to comment.