From f63ac245f7addf832e8cde3cc4f26607b738994d Mon Sep 17 00:00:00 2001 From: Hu Keping Date: Fri, 27 Nov 2020 09:52:20 +0100 Subject: [PATCH] Use X.Y instead of date for release tag As per discussed at github issue[1] and mailing list[2], we consider a version format of X.Y starting at 3.2. [1]: https://github.com/SELinuxProject/selinux/issues/270 [2]: https://lore.kernel.org/selinux/87d004wan2.fsf@redhat.com/T/#u Signed-off-by: Hu Keping --- scripts/release | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/release b/scripts/release index 07813749..040aaf68 100755 --- a/scripts/release +++ b/scripts/release @@ -7,7 +7,7 @@ if [ \! -d $WIKIDIR ]; then git clone git@github.com:SELinuxProject/selinux.wiki.git $WIKIDIR fi -RELEASE_TAG=$(date '+%Y%m%d') +RELEASE_TAG=`cat VERSION` DEST=releases/$RELEASE_TAG DIRS="libsepol libselinux libsemanage checkpolicy secilc policycoreutils mcstrans restorecond semodule-utils" DIRS_NEED_PREFIX="dbus gui python sandbox" @@ -43,7 +43,7 @@ echo "Add the following to the $WIKIDIR/Releases.md wiki page:" echo "" -echo "## Release $(date '+%Y-%m-%d')" +echo "## Release $RELEASE_TAG" echo ""