Skip to content

Commit e35522a

Browse files
authored
simplify release flow (#193)
1 parent 173595b commit e35522a

File tree

3 files changed

+6
-246
lines changed

3 files changed

+6
-246
lines changed

.github/workflows/publish.yml

-13
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,3 @@ jobs:
3939
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
4040
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
4141
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
42-
github-release:
43-
needs: publish
44-
runs-on: ubuntu-latest
45-
steps:
46-
- uses: actions/checkout@v3
47-
- name: Extract release notes
48-
id: release_notes
49-
uses: ffurrer2/extract-release-notes@v1
50-
- name: Create release
51-
uses: ncipollo/release-action@v1
52-
with:
53-
body: ${{ steps.release_notes.outputs.release_notes }}
54-
discussionCategory: Announcements

CHANGELOG.md

-224
This file was deleted.

RELEASE.md

+6-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
# Release process
22

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

0 commit comments

Comments
 (0)