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 <hukeping@huawei.com>
This commit is contained in:
Hu Keping 2020-11-27 09:52:20 +01:00 committed by Petr Lautrbach
parent 0c51cddaa3
commit f63ac245f7
1 changed files with 2 additions and 2 deletions

View File

@ -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 ""