Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(release): remove unused job for push-tag #996

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions .github/workflows/stable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,12 @@ jobs:
version_number=$(./mvnw --quiet help:evaluate -Dexpression=project.version -DforceStdout | sed -n 's/^\(.*\)-SNAPSHOT/\1/p')
./mvnw release:prepare -B -DreleaseVersion=${version_number}
fi
# push the release commit and tag from maven release:prepare
git push
echo "version_number=$version_number" >> $GITHUB_OUTPUT
outputs:
next_version: ${{ steps.next_version.outputs.value }}
maven_version: ${{ steps.maven_prepare_release.outputs.version_number }}
push-tag:
needs: prepare-version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Push tag
run: |
git tag -a ${{ needs.prepare-version.outputs.next_version }} -m "Release ${{ needs.prepare-version.outputs.next_version }}"
git push origin ${{ needs.prepare-version.outputs.next_version }}
gh-releasse:
needs: prepare-version
runs-on: ubuntu-latest
Expand Down
Loading