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

Add GH release step on CI and tweak changelog styles #31

Merged
merged 2 commits into from
Oct 18, 2024
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
17 changes: 11 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ env:
jobs:
publish:
runs-on: macos-latest

permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand All @@ -25,9 +26,13 @@ jobs:
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ARTIFACT_SIGNING_PRIVATE_KEY }}

- uses: ffurrer2/extract-release-notes@v2
id: release_notes

- uses: ncipollo/release-action@v1
- name: Extract release notes
id: extract-release-notes
uses: ffurrer2/extract-release-notes@v2
with:
body: ${{ steps.release_notes.outputs.release_notes }}
release_notes_file: RELEASE_NOTES.md
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not the name of our file. We can rely on the default

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's used by --notes-file option, due to cashapp/licensee#357 (comment).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh this writes the file, not reads it.


- name: Create GitHub release
run: gh release create ${{ github.ref_name }} --notes-file RELEASE_NOTES.md
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31 changes: 23 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,45 @@
# Change Log

## Unreleased
## [Unreleased]
[Unreleased]: https://github.com/cashapp/burst/compare/0.5.0...HEAD

## Version 0.5.0 *(2024-10-17)*

* Fix: Apply specializations for Kotlin/JS and Kotlin/Native. We had bugs that caused our compiler
plug-in to skip non-JVM platforms.
## [0.5.0] *(2024-10-17)*
[0.5.0]: https://github.com/cashapp/burst/releases/tag/0.4.0

**Fixed**

## Version 0.4.0 *(2024-10-16)*
* Fix: Apply specializations for Kotlin/JS and Kotlin/Native. We had bugs that caused our compiler
plug-in to skip non-JVM platforms.


## [0.4.0] *(2024-10-16)*
[0.4.0]: https://github.com/cashapp/burst/releases/tag/0.4.0

**Added**

* New: Require JDK 1.8+.
* New: Run the first specialization when launching from the IDE.


## Version 0.3.0 *(2024-10-15)*
## [0.3.0] *(2024-10-15)*
[0.3.0]: https://github.com/cashapp/burst/releases/tag/0.3.0

**Fixed**

* Fix: Don't generate invalid bytecode by attaching a test class constructor to its enclosing file.


## Version 0.3.0 *(2024-10-10)*
## [0.2.0] *(2024-10-10)*
[0.2.0]: https://github.com/cashapp/burst/releases/tag/0.2.0

**Added**

* New: Support both class constructor parameters and test function parameters.


## Version 0.1.0 *(2024-10-08)*
## [0.1.0] *(2024-10-08)*
[0.1.0]: https://github.com/cashapp/burst/releases/tag/0.1.0

Initial release. We're rebooting the [Burst] project that released 1.0 ten years ago.

Expand Down