summaryrefslogtreecommitdiff
path: root/docs/markdown/Creating-releases.md
diff options
context:
space:
mode:
authorandy5995 <andy400-dev@yahoo.com>2022-01-17 23:37:36 -0600
committerEli Schwartz <eschwartz93@gmail.com>2022-02-10 21:23:20 -0500
commitb1e6cc5553f340e4e4c76f4dd355444d13d6a614 (patch)
tree4479227c8ec4823eafbed293174f6f498e0dab72 /docs/markdown/Creating-releases.md
parent3596b6b19a0e5bf6ce65a640448d459c85180184 (diff)
downloadmeson-b1e6cc5553f340e4e4c76f4dd355444d13d6a614.tar.gz
implement 'dist --allow-dirty' flag
closes #9824
Diffstat (limited to 'docs/markdown/Creating-releases.md')
-rw-r--r--docs/markdown/Creating-releases.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/Creating-releases.md b/docs/markdown/Creating-releases.md
index b8244596e..dfdc5793c 100644
--- a/docs/markdown/Creating-releases.md
+++ b/docs/markdown/Creating-releases.md
@@ -60,6 +60,14 @@ for example when done in CI that already does its own testing.
So with `--no-tests` you can tell Meson "Do not build and test generated
packages.".
+## Use `--allow-dirty` to override error when git repository contains uncommitted changes
+
+*Since 0.62.0* Instead of emitting a warning when a repository contains
+uncommitted changes, Meson will produce an error message notifying the
+user and immediately exit. If `--allow-dirty` is given as an option to
+`meson dist`, a warning will be emitted instead and Meson will proceed
+as usual.
+
## Release a subproject separately
*Since 0.57.0* the `meson dist` command can now create a distribution tarball