Skip to content

Conversation

@StrongMonkey
Copy link
Contributor

Add CI to do tagged release for binary and docker images

Signed-off-by: Daishan Peng <daishan@acorn.io>
type: string

env:
GO_VERSION: "1.23"
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we go to 1.25 now? Maybe even bump the version in go.mod?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated 👍

Comment on lines 7 to 12
workflow_dispatch:
inputs:
tag:
description: 'Tag to release (e.g., v1.0.0)'
required: true
type: string
Copy link
Contributor

Choose a reason for hiding this comment

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

I say we remove this. Just do it with a tag.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, not idea why AI generates that. We should just do tag from event

Comment on lines 369 to 376
tag: ${{ steps.version.outputs.VERSION }}
name: Release ${{ steps.version.outputs.VERSION }}
bodyFile: CHANGELOG.md
artifacts: "release/*"
draft: false
prerelease: ${{ contains(steps.version.outputs.VERSION, '-') }}
token: ${{ secrets.GITHUB_TOKEN }}
generateReleaseNotes: true No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should add allowUpdates: true here so that this works if someone creates a release through the GitHub UI.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

# Linting
lint:
golangci-lint run
golangci-lint run --tests=false
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, i meant to add it to our ci so that lint don't check test files. I added --tests=false to all the lint action now.

@StrongMonkey StrongMonkey requested a review from thedadams August 29, 2025 16:47
@StrongMonkey StrongMonkey force-pushed the add-release-process branch 3 times, most recently from 02416b4 to 5c3d043 Compare August 29, 2025 17:13
@StrongMonkey StrongMonkey force-pushed the add-release-process branch 2 times, most recently from 7ed13d1 to 375c5d4 Compare August 29, 2025 17:44
Signed-off-by: Daishan Peng <daishan@acorn.io>
@StrongMonkey StrongMonkey merged commit 8e3c8e6 into obot-platform:main Aug 29, 2025
2 checks passed
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.

3 participants