henryhale/gopack: build and package golang projects
Builds and packages a golang project, outputting the binaries for multiple platforms.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| name | Name of the project | yes | — |
| path | Path to the golang project (relative to the repository root). | no | . |
| dest | Directory where the built files will be placed. | no | ./dist |
| ldflags | Value to -ldflags build option. | no | -s -w |
| flags | Flags to pass to 'go build' command. | no | "" |
| includeVersion | Whether to add current tag or commit in release name. | no | false |
Outputs
| name | description |
|---|---|
| directory | Absolute path to the directory containing the packaged archives. |
| artifacts | Newline-separated list of the packaged archive file names. |