-
-
Notifications
You must be signed in to change notification settings - Fork 14
ci(release): add release pipeline and switch versioning to git-semver #221
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
Zoriot
merged 12 commits into
AlpsBTE:main
from
num0001:feat/release-pipeline-and-semver
May 23, 2026
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
d076204
Add release workflow that attaches shaded JAR to GitHub Releases
amrdoh 0520914
Add release workflow + switch to git-semver plugin for versioning
num0001 a736fa7
Add release workflow that attaches shaded JAR to GitHub Releases
amrdoh d499b78
Add release workflow + switch to git-semver plugin for versioning
num0001 562d542
ci(release): attach shaded JAR to published GitHub Releases
num0001 b7ff810
Merge branch 'feat/release-workflow-and-semver' of https://github.com…
num0001 20e1146
build(gradle): switch versioning from palantir/git-version to jmongar…
num0001 b0fb710
ci(release): maintain draft GitHub Release on every main push
num0001 0de4cec
delete: vscode setting
num0001 0ed2556
Merge branch 'main' into feat/release-pipeline-and-semver
num0001 c31e180
ci: 🔧 update GitHub Actions to latest versions
Zoriot 686369c
docs: ✏️ add commit naming conventions section to README
Zoriot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| name-template: 'v$RESOLVED_VERSION' | ||
| tag-template: 'v$RESOLVED_VERSION' | ||
|
|
||
| categories: | ||
| - title: 'Features' | ||
| labels: | ||
| - 'enhancement' | ||
| - title: 'Bug Fixes' | ||
| labels: | ||
| - 'bug' | ||
| - title: 'Maintenance' | ||
| labels: | ||
| - 'dependencies' | ||
| - 'documentation' | ||
|
|
||
| change-template: '- $TITLE (#$NUMBER) @$AUTHOR' | ||
| change-title-escapes: '\<*_&' | ||
|
|
||
| template: | | ||
| ## What's Changed | ||
|
|
||
| $CHANGES | ||
|
|
||
| **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION | ||
This file contains hidden or 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
|
num0001 marked this conversation as resolved.
|
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| name: Update Release Draft | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
|
|
||
| permissions: | ||
| contents: write | ||
| pull-requests: read | ||
|
|
||
| jobs: | ||
| update-draft: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| with: | ||
| fetch-depth: 0 | ||
| fetch-tags: true | ||
|
|
||
| - name: Set up JDK 21 | ||
| uses: actions/setup-java@v5 | ||
| with: | ||
| java-version: '21' | ||
| distribution: 'temurin' | ||
|
|
||
| - name: Setup Gradle | ||
| uses: gradle/actions/setup-gradle@v6 | ||
|
|
||
| - name: Compute next release version | ||
| id: version | ||
| run: | | ||
| NEXT="$(./gradlew -q printNextReleaseVersion)" | ||
| echo "next=${NEXT}" >> "$GITHUB_OUTPUT" | ||
| - name: Update release draft | ||
| uses: release-drafter/release-drafter@v7 | ||
| with: | ||
| version: ${{ steps.version.outputs.next }} | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| name: Attach Release Artifacts | ||
|
|
||
| on: | ||
| release: | ||
| types: [published] | ||
|
|
||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| with: | ||
| fetch-depth: 0 | ||
| fetch-tags: true | ||
| ref: ${{ github.event.release.tag_name }} | ||
|
|
||
| - name: Set up JDK 21 | ||
| uses: actions/setup-java@v5 | ||
| with: | ||
| java-version: '21' | ||
| distribution: 'temurin' | ||
|
|
||
| - name: Setup Gradle | ||
| uses: gradle/actions/setup-gradle@v6 | ||
|
|
||
| - name: Build with Gradle Wrapper | ||
| run: ./gradlew clean build | ||
|
|
||
| - name: Attach shaded JAR to release | ||
| uses: softprops/action-gh-release@v3 | ||
| with: | ||
| files: build/libs/*.jar | ||
| fail_on_unmatched_files: true |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.