From a97bd9f88a347e3c27cd2484b58edf78a0ec9f79 Mon Sep 17 00:00:00 2001 From: Martin Dvorak Date: Tue, 28 Aug 2018 11:28:51 +0200 Subject: [PATCH] Making sure tarball doesn't contain garbage. --- build/debian/aptly-add-deb.sh | 6 +++--- build/tarball/tarball-automake.sh | 4 ++-- tests/.gitignore | 2 -- 3 files changed, 5 insertions(+), 7 deletions(-) delete mode 100644 tests/.gitignore diff --git a/build/debian/aptly-add-deb.sh b/build/debian/aptly-add-deb.sh index ecef3d54..f2d677c4 100755 --- a/build/debian/aptly-add-deb.sh +++ b/build/debian/aptly-add-deb.sh @@ -39,10 +39,10 @@ echo "See 'MindForger Release Guide#Debian and my PPA' notebook for detailed ste #aptly snapshot list # delete snapshot(s) ONLY if needed - publish must be deleted first! -#aptly snapshot drop mf-test-snapshot +#aptly snapshot drop hstr-2.0.0-snapshot # create snapshot in the time of release - note release NAME -#aptly snapshot create hstr-2.0.0 from repo mindforger-com-ppa +#aptly snapshot create hstr-2.0.0-snapshot from repo mindforger-com-ppa # show published snapshots #aptly publish list @@ -51,6 +51,6 @@ echo "See 'MindForger Release Guide#Debian and my PPA' notebook for detailed ste #aptly publish drop stretch # publish snapshot to local filesystem so that it can be uploaded - note release NAME -#aptly publish snapshot hstr-2.0.0 +#aptly publish snapshot hstr-2.0.0-snapshot # eof diff --git a/build/tarball/tarball-automake.sh b/build/tarball/tarball-automake.sh index 3f6523c7..79b69843 100755 --- a/build/tarball/tarball-automake.sh +++ b/build/tarball/tarball-automake.sh @@ -24,7 +24,7 @@ function tarballClean() { if [ "${1}" = "--purge" ] then # development files - rm -vrf build .git .gitignore .settings Debug Release .cproject .project hstr.pro hstr.pro.user snap + rm -vrf build test tests .git .gitignore .settings Debug Release .cproject .project hstr.pro hstr.pro.user snap rm -vf .travis.yml pad.xml _config.yml fi # garbage @@ -32,7 +32,7 @@ function tarballClean() { rm -rvf atom5te.cache src/.deps rm -vf Makefile Makefile.in aclocal.m4 config.log config.status configure depcomp install-sh missing rm -vf man/Makefile man/Makefile.in - rm -vf src/Makefile src/Makefile.in src/hstr src/hh src/*.o + rm -vf src/Makefile src/Makefile.in src/hstr src/hh *.o src/*.o } function tarballBuildUsingAutomake() { diff --git a/tests/.gitignore b/tests/.gitignore deleted file mode 100644 index 623508b7..00000000 --- a/tests/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -_* -*.*~ \ No newline at end of file