1
0
Fork 0
mirror of https://github.com/on4kjm/FLEcli.git synced 2025-01-31 14:51:04 +01:00
FLEcli/notes/buildNotes.md

21 lines
517 B
Markdown
Raw Normal View History

# Build Notes
## Bootstrap
Install [Cobra CLI tool](https://github.com/spf13/cobra) `go install github.com/spf13/cobra-cli@latest`
[Install](https://goreleaser.com/install/) [goreleaser](https://goreleaser.com/)
* `go build && go install`
2020-07-22 22:50:37 +02:00
## to build with goreleaser
* `goreleaser --snapshot --skip-publish --rm-dist`
* `dist/FLEcli_darwin_amd64/FLEcli`
2020-08-11 13:21:20 +02:00
* `docker build -f docker/Dockerfile -t test/test dist/FLEcli_linux_arm64`
## to push a release
* on the master branch `git tag v0.1.1`
* `git push --tag`