Skip to content
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

cicd: Add multi-platform binaries and releases to Makefile #6

Merged
merged 1 commit into from
Apr 17, 2020

Conversation

timoguin
Copy link
Owner

@timoguin timoguin commented Apr 17, 2020

Prep work to support a CI/CD pipeline that can publish multi-platform
binaries to GitHub.

Related to #5.

Added

  • make release: Use ghr to publish binaries to GitHub
  • make tools: Install build and release tooling (gox and ghr)
  • make debug: Display generated vars used in the Makefile
  • Commit vendored modules to the repo
  • .go-version file set to 1.14.0

Changed

  • make build_all: Use go mod tidy and go mod vendor
  • Determine version from Git describe output

Removed

  • Removes LDFLAG for main.buildTime to support reproducible builds

Prep work to support a CI/CD pipeline that can publish multi-platform
binaries to GitHub.

Related to #5.

Added:

- `make release`: Use ghr to publish binaries to GitHub
- `make tools`: Install build and release tooling (gox and ghr)
- `make debug`: Display generated vars used in the Makefile
- Commit vendored modules to the repo
- `.go-version` file set to 1.14.0

Changed:

- `make build_all`: Use `go mod tidy` and `go mod vendor`
- Determine version from Git describe output

Removed:

- Removes LDFLAG for main.buildTime to support reproducible builds
@timoguin timoguin force-pushed the cicd/multi-platform-binaries branch from 294ab2c to b5b0ae1 Compare April 17, 2020 11:14
@timoguin timoguin added cicd enhancement New feature or request labels Apr 17, 2020
@timoguin timoguin self-assigned this Apr 17, 2020
@timoguin timoguin added this to In progress in Roadmap via automation Apr 17, 2020
@timoguin timoguin added this to the 1.0 milestone Apr 17, 2020
@timoguin timoguin linked an issue Apr 17, 2020 that may be closed by this pull request
@timoguin timoguin merged commit d2c2caa into master Apr 17, 2020
Roadmap automation moved this from In progress to Done Apr 17, 2020
@timoguin timoguin deleted the cicd/multi-platform-binaries branch April 17, 2020 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cicd enhancement New feature or request
Projects
Roadmap
  
Done
Development

Successfully merging this pull request may close these issues.

cicd: Create GitHub Actions pipeline to manage builds and releases
1 participant