Fix release script
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
This commit is contained in:
parent
b4cca24240
commit
b5f2652a11
|
@ -3,11 +3,11 @@
|
|||
PWD=`pwd`
|
||||
WIKIDIR=../selinux.wiki
|
||||
|
||||
if [ \! -d $(WIKIDIR) ]; then
|
||||
git clone git@github.com:SELinuxProject/selinux.wiki.git $(WIKIDIR)
|
||||
if [ \! -d $WIKIDIR ]; then
|
||||
git clone git@github.com:SELinuxProject/selinux.wiki.git $WIKIDIR
|
||||
fi
|
||||
|
||||
DEST=$(WIKIDIR)/files/releases/$(date '+%Y%m%d')
|
||||
DEST=$WIKIDIR/files/releases/$(date '+%Y%m%d')
|
||||
DIRS="libsepol libselinux libsemanage policycoreutils checkpolicy secilc sepolgen"
|
||||
|
||||
git tag -a $(date '+%Y%m%d') -m "Release $(date '+%Y%m%d')"
|
||||
|
@ -26,9 +26,9 @@ done
|
|||
|
||||
cd $DEST
|
||||
|
||||
git add files/releases/$(date '+%Y%m%d')
|
||||
git add .
|
||||
|
||||
echo "Add the following to the $(WIKIDIR)/Releases.md wiki page:"
|
||||
echo "Add the following to the $WIKIDIR/Releases.md wiki page:"
|
||||
|
||||
echo ""
|
||||
|
||||
|
@ -42,10 +42,10 @@ for i in *.tar.gz; do
|
|||
done
|
||||
|
||||
echo "And then run:"
|
||||
echo "cd $(WIKIDIR)"
|
||||
echo "cd $WIKIDIR"
|
||||
echo "git commit -m \"Release $(date '+%Y%m%d')\" -a -s"
|
||||
|
||||
echo "Push the release and its tags to git via:"
|
||||
echo " cd $(PWD)"
|
||||
echo " cd $PWD"
|
||||
echo " git push"
|
||||
echo " git push --tags"
|
||||
|
|
Loading…
Reference in New Issue