-
Notifications
You must be signed in to change notification settings - Fork 8
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
Windows releases #6
Conversation
Signed-off-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
Signed-off-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
Signed-off-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
Signed-off-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
Reviewer's Guide by SourceryThis pull request adds support for Windows releases and makes several improvements to the build process and CI pipeline. The changes include updating the Makefile, goreleaser configuration, GitHub Actions workflow, and the golicenses shell script. File-Level Changes
Tips
|
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @gitworkflows - I've reviewed your changes - here's some feedback:
Overall Comments:
- There's a typo in the Makefile:
RELAESE_CMD
should beRELEASE_CMD
. This could cause issues with the release process. - Some error checking has been removed from the Makefile commands (e.g.,
|| exit 1
removed from mkdir commands). Consider keeping these to ensure the build fails appropriately on errors. - The code coverage threshold has been significantly increased from 34% to 55%. Please confirm if this is intentional and achievable.
Here's what I looked at during the review
- 🟡 General issues: 1 issue found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.
Makefile
Outdated
|
||
RELEASE_CMD=$(BIN)/goreleaser --rm-dist | ||
RELAESE_CMD=$(BIN)/goreleaser --rm-dist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (typo): Fix typo in RELAESE_CMD variable name
This typo could cause issues when trying to release the project. Please correct it to RELEASE_CMD.
Signed-off-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
Signed-off-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
Signed-off-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
Signed-off-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
User description
Notes for Reviewers
This PR fixes #
Signed commits
PR Type
enhancement, configuration changes
Description
golicenses.sh
to include Windows platform support.Changes walkthrough 📝
golicenses.sh
Add Windows platform support in golicenses script
golicenses.sh
get_binaries
function.Makefile
Improve Makefile with Windows support and typo fixes
Makefile
RELEASE_CMD
.pipeline.yaml
Add Windows testing and setup in CI pipeline
.github/workflows/pipeline.yaml
goreleaser.yaml
Configure GoReleaser for Windows builds
goreleaser.yaml
Summary by Sourcery
Add Windows support for building and testing, enhance CI workflows to include Windows, and improve code quality by increasing the test coverage threshold. Refactor the Makefile for better readability and efficiency.
New Features:
Enhancements:
CI: