Skip to content

Commit

Permalink
Use X.Y instead of date for release tag
Browse files Browse the repository at this point in the history
As per discussed at github issue[1] and mailing list[2], we consider
a version format of X.Y starting at 3.2.

[1]: SELinuxProject/selinux#270
[2]: https://lore.kernel.org/selinux/87d004wan2.fsf@redhat.com/T/#u

Signed-off-by: Hu Keping <hukeping@huawei.com>
  • Loading branch information
HuKeping authored and bachradsusi committed Dec 2, 2020
1 parent 0c51cdd commit f63ac24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release
Expand Up @@ -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"
Expand Down Expand Up @@ -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 ""

Expand Down

0 comments on commit f63ac24

Please sign in to comment.