Skip to content

KAFKA-477: Add github workflow for releasing new versions#207

Open
Calvinnix wants to merge 1 commit intomongodb:masterfrom
Calvinnix:KAFKA-477
Open

KAFKA-477: Add github workflow for releasing new versions#207
Calvinnix wants to merge 1 commit intomongodb:masterfrom
Calvinnix:KAFKA-477

Conversation

@Calvinnix
Copy link
Copy Markdown
Collaborator

No description provided.

@Calvinnix Calvinnix requested a review from a team as a code owner March 24, 2026 18:17
@Calvinnix Calvinnix requested a review from arahmanan March 24, 2026 18:17
Comment on lines +27 to +29
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I will need to create this

git config user.email "github-actions[bot]@users.noreply.github.com"
git add build.gradle.kts
git commit -m "Version: bump ${{ steps.versions.outputs.release }}"
git push origin master
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I will add an exception in the branch protection that let's this workflow push to master.

@arahmanan arahmanan requested review from andrewzlchen and removed request for arahmanan March 25, 2026 16:44
Copy link
Copy Markdown
Collaborator

@andrewzlchen andrewzlchen left a comment

Choose a reason for hiding this comment

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

looks great! is this triggered upon making a e

run: |
CURRENT="${{ steps.current.outputs.version }}"
if [[ "$CURRENT" != *-SNAPSHOT ]]; then
echo "::error::Expected a SNAPSHOT version, got: $CURRENT"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

There's some weird spacing here - or maybe it's expecting to be displayed somewhere that handles ::error::

there are two more places that do this

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I'll update the formatting

name: Release

on:
workflow_dispatch:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

so this means that we bump the version via the GHA workflow ui right?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yep exactly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants