This is an automated email from the ASF dual-hosted git repository. javiroman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-myriad.git
The following commit(s) were added to refs/heads/master by this push: new 82297a4 MYRIAD-290 prepare_rc.sh fails with TAR error message (#124) 82297a4 is described below commit 82297a4cd60f1b1b17ddca1a7ea11eb26a2beecb Author: Javi Roman <jroman.espi...@gmail.com> AuthorDate: Tue Feb 26 16:29:48 2019 +0100 MYRIAD-290 prepare_rc.sh fails with TAR error message (#124) In newer versions of tar the paremeter --exclude-vcs is position-sensitive. So the current prepare_rc.sh fails with message: tar: The following options were used after any non-optional ... tar: --exclude-vcs has no effect tar: Exiting with failure status due to previous errors --- support/apache-release/prepare_rc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/apache-release/prepare_rc.sh b/support/apache-release/prepare_rc.sh index 69216a9..4c9c97b 100644 --- a/support/apache-release/prepare_rc.sh +++ b/support/apache-release/prepare_rc.sh @@ -64,7 +64,7 @@ rm -rf ${TAG}/myriad-scheduler/src/main/resources/banner.txt # Create a tar ball that excludes VCS files TARBALL=${TAG}.tar.gz -tar -czf ${TARBALL} ${TAG} --exclude-vcs || \ +tar czf ${TARBALL} --exclude-vcs ${TAG} || \ { echo "Failed to create a tarball of ${TAG}"; exit 1; } # Sign the tarball.