silnrsi / smith

font development, testing and release
Other
14 stars 5 forks source link

Emit a warning when trying to run release targets on a "dirty" git repository #36

Open n7s opened 7 years ago

n7s commented 7 years ago

Smith should emit a warning when trying to use targets like zip tarball release or srcdist when local changes have not been committed. The rationale is to prevent a font developer from releasing to users what has not been committed and tracked in a (git) repository. The build target emits no such warning.

devosb commented 6 years ago

Agree that such a warning would be useful. However, if a developer has failed to commit a needed file for a build, the repo will be clean, but the build will still be broken for other developers. Building from a freshly checked out repo avoids both issues.