Skip to content

Fix: Correct Go build commands in manual release workflow#13

Merged
marouni merged 2 commits intomasterfrom
feature/manual-release-action
May 24, 2025
Merged

Fix: Correct Go build commands in manual release workflow#13
marouni merged 2 commits intomasterfrom
feature/manual-release-action

Conversation

@marouni
Copy link
Owner

@marouni marouni commented May 24, 2025

The previous build commands in the manual release workflow were attempting to build only the main.go file (e.g., go build -o adr-linux-amd64 main.go). This caused "undefined" errors because other .go files in the package (like commands.go and flags.go) were not being included in the build.

This commit changes the build commands to use go build -o <output_name> . which correctly builds all .go files in the current directory as part of the main package.

google-labs-jules bot and others added 2 commits May 24, 2025 16:44
The previous build commands in the manual release workflow were attempting
to build only the main.go file (e.g., `go build -o adr-linux-amd64 main.go`).
This caused "undefined" errors because other .go files in the package
(like commands.go and flags.go) were not being included in the build.

This commit changes the build commands to use `go build -o <output_name> .`
which correctly builds all .go files in the current directory as part
of the main package.
@marouni marouni merged commit 93b5cd2 into master May 24, 2025
1 check 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.

1 participant