feat: add GoReleaser configuration and GitHub Actions release workflow#53
Merged
Conversation
- Add .goreleaser.yaml with cross-compilation targets for linux, darwin, and windows (amd64, arm64) - Configure build from ./cmd/html-server with version info ldflags - Add checksum generation and archive configuration - Add .github/workflows/release.yml for automated releases on tag push - Use self-hosted runner with Go 1.24 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
不可合并 摘要: PR 引入了 GoReleaser 配置和 release workflow,但存在构建阻断性问题,ldflags 引用了不存在的变量。 阻塞项:
建议项:
|
|
无遗漏 PR body 中列出的所有需求均已实现:
无新增代码被修改,完全新增的两个配置文件,不存在集成遗漏问题。 |
- Add version.go in cmd/html-server with version variables - Remove go generate hook from .goreleaser.yaml - Remove github block from release config - Pin goreleaser-action to v2.6.1 - Use go-version-file instead of hardcoded go-version Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
可合并 上一轮 review 中报告的阻塞项(ldflags 引用不存在的变量)已通过新增 阻塞项:无 建议项:
|
|
发现遗漏 Summary: 对比 PR body 中的需求与实现,整体匹配度高,但发现一处微小偏差。 LOW
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.




Summary
This PR adds GoReleaser configuration and a GitHub Actions workflow for automated releases when tags are pushed.
Changes
.goreleaser.yaml: Complete GoReleaser configuration with:
.github/workflows/release.yml: GitHub Actions workflow that:
Test plan
🤖 Generated with Claude Code