mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
The generated "changelog" was not removed before re-generating, causing the changelog to be added twice on repeated runs of "make rpm" (when bind-mounting the local source). As a result, rpms failed to build, because the resulting file had entries in non-chronological order. This change removes the generated file before re-generating, and adds the file to .gitignore, to prevent it from accidentally being added to source control. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 089b71443a0f0428a53c41c71513905f64c22f69 Component: engine
This directory holds scripts called by make.sh in the parent directory.
Each script is named after the bundle it creates. They should not be called directly - instead, pass it as argument to make.sh, for example:
./hack/make.sh test
./hack/make.sh binary ubuntu
# Or to run all bundles:
./hack/make.sh
To add a bundle:
- Create a shell-compatible file here
- Add it to $DEFAULT_BUNDLES in make.sh