-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove calls to
ad-m/github-push-action
Remove -DpreparationGoals
- Loading branch information
Showing
1 changed file
with
5 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ jobs: | |
- name: Maven release ${{steps.metadata.outputs.current-version}} | ||
run: | | ||
git checkout -b release | ||
mvn -B release:prepare -Prelease -DpreparationGoals="clean install" -DreleaseVersion=${{steps.metadata.outputs.current-version}} -DdevelopmentVersion=${{steps.metadata.outputs.next-version}} | ||
mvn -B release:prepare -Prelease -DreleaseVersion=${{steps.metadata.outputs.current-version}} -DdevelopmentVersion=${{steps.metadata.outputs.next-version}} | ||
if ! git diff --quiet docs/modules/ROOT/pages/includes/attributes.adoc; then | ||
git add docs/modules/ROOT/pages/includes/attributes.adoc | ||
git commit -m "Update stable version for documentation" | ||
|
@@ -68,19 +68,11 @@ jobs: | |
git commit -m "Update stable version for documentation" | ||
# Move the tag after inclusion of documentation adjustments | ||
git tag -f ${{steps.metadata.outputs.current-version}} | ||
# Push modified tag | ||
git push origin refs/tags/${{steps.metadata.outputs.current-version}} -f | ||
fi | ||
# Go back to base branch | ||
git checkout ${{github.base_ref}} | ||
- name: Push changes to ${{github.base_ref}} | ||
uses: ad-m/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: ${{github.base_ref}} | ||
|
||
- name: Push tags | ||
uses: ad-m/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
tags: true | ||
branch: ${{github.base_ref}} | ||
- name: Push changes to ${{github.base_ref}} branch | ||
run: git push |