]> granicus.if.org Git - re2c/commitdiff
release.sh: clean tarball directory before rsync'ing to sourceforge
authorUlya Trofimovich <skvadrik@gmail.com>
Mon, 28 Jul 2014 15:05:22 +0000 (18:05 +0300)
committerUlya Trofimovich <skvadrik@gmail.com>
Mon, 28 Jul 2014 15:05:22 +0000 (18:05 +0300)
(shouldn't push old tarballs)

re2c/release.sh

index 99a7bedc0759792ded5d19996e2198a188fd8862..9a948fc78d06b86fb656c8086f4b19388fb9aa4b 100755 (executable)
@@ -47,6 +47,7 @@ git push --tags
 src=release
 src_tarballs=$src/frs/project/re2c/re2c/$version
 src_docs=$src/project-web/re2c/htdocs
+rm -r $src
 mkdir -p $src_tarballs
 mkdir -p $src_docs
 cp re2c-$version-src.zip re2c-$version.tar.gz $src_tarballs