[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 07/23] scripts/make-release: Add a simple help text for the script
From: |
Thomas Huth |
Subject: |
[PULL 07/23] scripts/make-release: Add a simple help text for the script |
Date: |
Wed, 14 Dec 2022 11:08:55 +0100 |
Print a simple help text if the script has been called with the
wrong amount of parameters.
Message-Id: <20221128092555.37102-2-thuth@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
scripts/make-release | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/scripts/make-release b/scripts/make-release
index 05b14ecc95..4be9b3b9ce 100755
--- a/scripts/make-release
+++ b/scripts/make-release
@@ -10,6 +10,12 @@
# This work is licensed under the terms of the GNU GPLv2 or later.
# See the COPYING file in the top-level directory.
+if [ $# -ne 2 ]; then
+ echo "Usage:"
+ echo " $0 gitrepo version"
+ exit 0
+fi
+
src="$1"
version="$2"
destination=qemu-${version}
--
2.31.1
- [PULL 16/23] .gitlab-ci.d/windows.yml: Unify the prerequisite packages, (continued)
- [PULL 16/23] .gitlab-ci.d/windows.yml: Unify the prerequisite packages, Thomas Huth, 2022/12/14
- [PULL 18/23] .gitlab-ci.d/windows.yml: Exclude qTests from 64-bit CI job for now, Thomas Huth, 2022/12/14
- [PULL 21/23] gitlab-ci: Check building ppc64 without TCG, Thomas Huth, 2022/12/14
- [PULL 23/23] tests/qtest/vhost-user-blk-test: don't abort all qtests on missing envar, Thomas Huth, 2022/12/14
- [PULL 22/23] .gitlab/issue_templates: Move suggestions into comments, Thomas Huth, 2022/12/14
- [PULL 06/23] monitor/misc: Remove superfluous include statements, Thomas Huth, 2022/12/14
- [PULL 14/23] tests/qtest/e1000e-test: De-duplicate constants, Thomas Huth, 2022/12/14
- [PULL 13/23] tests/qtest/libqos/e1000e: Remove "other" interrupts, Thomas Huth, 2022/12/14
- [PULL 09/23] util/qemu-config: Fix "query-command-line-options" to provide the right values, Thomas Huth, 2022/12/14
- [PULL 11/23] MAINTAINERS: Add documentation files to the corresponding sections, Thomas Huth, 2022/12/14
- [PULL 07/23] scripts/make-release: Add a simple help text for the script,
Thomas Huth <=
- [PULL 04/23] target/s390x/tcg/mem_helper: Test the right bits in psw_key_valid(), Thomas Huth, 2022/12/14
- [PULL 19/23] tests/qtest: Enable qtest build on Windows, Thomas Huth, 2022/12/14
- Re: [PULL 00/23] First batch of s390x, qtest, CI and misc patches for 8.0, Peter Maydell, 2022/12/15