aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bdep/publish.cxx4
-rw-r--r--tests/publish.testscript1
2 files changed, 5 insertions, 0 deletions
diff --git a/bdep/publish.cxx b/bdep/publish.cxx
index 32687d5..e46ac88 100644
--- a/bdep/publish.cxx
+++ b/bdep/publish.cxx
@@ -179,6 +179,10 @@ namespace bdep
<< " control: " << *ctrl;
}
+#ifdef BDEP_STAGE
+ warn << "publishing using staged build2 toolchain";
+#endif
+
if (!yn_prompt ("continue? [y/n]"))
return 1;
}
diff --git a/tests/publish.testscript b/tests/publish.testscript
index 3af339b..97a0dfb 100644
--- a/tests/publish.testscript
+++ b/tests/publish.testscript
@@ -166,6 +166,7 @@ windows = ($cxx.target.class == 'windows')
version: 1.0.4
project: prj
section: stable
+ %warning: publishing using staged build2 toolchain%?
continue? [y/n] submitting libprj-1.0.4.tar.gz
%.*
%package submission is queued\(: .*libprj/1\\.0\\.4\)?%