From: Karel Zak Date: Tue, 1 Jun 2021 09:45:16 +0000 (+0200) Subject: tools: allow to update specific files on kernel.org X-Git-Tag: v2.38-rc1~492 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d79a69c5643cfb903600bc566538170e5c03989c;p=thirdparty%2Futil-linux.git tools: allow to update specific files on kernel.org Signed-off-by: Karel Zak --- diff --git a/tools/ko-release-gen b/tools/ko-release-gen index 9f904d1b1f..b3afc3981b 100755 --- a/tools/ko-release-gen +++ b/tools/ko-release-gen @@ -2,7 +2,7 @@ # # Copyright (C) 2012 Karel Zak # -# Usage: ko-release-gen [] +# Usage: ko-release-gen [ []] # # This script prepares a new release for publishing on kernel.org. The # hierarchy of release files is created in the (default directory @@ -80,6 +80,17 @@ rm -rf $DISTDIR eval $(gpg-agent --daemon) +# Add just specified files only +if [ -f "$2" ]; then + shift + while (( "$#" )); do + add_file "$1" + shift + done + killall gpg-agent + exit 0 +fi + add_file util-linux-${VERSION}.tar.xz add_file v${VERSION}-ChangeLog add_file Documentation/releases/v${VERSION_DOCS}-ReleaseNotes