Skip to content

Commit

Permalink
Add note on packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed May 2, 2019
1 parent 34c3f4d commit c0706ce
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,14 @@ To create a new release, push a tag, eg:
To run a local "snapshot" build without publishing:

TRAVIS_BUILD_NUMBER=1 goreleaser --snapshot --rm-dist --debug --skip-publish

## Packaging

If you plan to package chezmoi for your distibution, then note:

* Please enable CGO, if possible. chezmoi can be built and run without CGO, but
the `.chezmoi.group` template variable may not be set on some systems.

* chezmoi includes an `upgrade` command which attempts to self-upgrade. You can
remove this command completely by building chezmoi with the `noupgrade` build
tag.

0 comments on commit c0706ce

Please sign in to comment.