Skip to content

simplify release flow #193

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

Merged
merged 2 commits into from
Mar 25, 2025
Merged
Show file tree
Hide file tree
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
13 changes: 0 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,3 @@ jobs:
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
github-release:
needs: publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Extract release notes
id: release_notes
uses: ffurrer2/extract-release-notes@v1
- name: Create release
uses: ncipollo/release-action@v1
with:
body: ${{ steps.release_notes.outputs.release_notes }}
discussionCategory: Announcements
224 changes: 0 additions & 224 deletions CHANGELOG.md

This file was deleted.

15 changes: 6 additions & 9 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# Release process

1. Update the `version` in `build.gradle`
2. Update `CHANGELOG.md`
- Add the new version with the date
- Add the new version at the bottom and link it to the tag
- Update the `unreleased` link at the bottom
3. Tag the commit on main with above changes with the version (e.g. `v1.0.0`)
4. Push the tag
- This will trigger the following in CI
- Push new version to maven central (sonatype)
- Create a GitHub release
- Push this to `main` (optionally with a PR)
2. Create a new release on github: [direct link](https://github.com/getyourguide/openapi-validation-java/releases/new)
- Choose a tag `v....` (the new version)
- Select "Create new tag"
- Press "Generate release notes"
- Publish release