[PATCH rdma-core] buildlib: Fix broken release script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Leon Romanovsky <leonro@xxxxxxxxxxxx>

The release script creates tar.gz with pre-built man pages,
but wrong path provided to tar command, caused to the following
error during "git release".

$ buildlib/github-release
tar: build-clang/pandoc-prebuilt: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
The command "buildlib/github-release" exited with 2.

Fixes: f16756285453 ("Support writing man pages in MarkDown")
Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
---
Hi

 I created new v18 tag, started release, encountered this error and
 deleted release from github.

Thanks
---
 buildlib/github-release | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildlib/github-release b/buildlib/github-release
index 0347ed9f..90e65e6c 100755
--- a/buildlib/github-release
+++ b/buildlib/github-release
@@ -7,6 +7,6 @@ if [[ $TRAVIS_TAG == v* ]] && [ "$TRAVIS_OS_NAME" = "linux" ]; then
 	# Strip the v from the TRAVIS_TAG for our prefix and output items
 	REL_TAG=`echo $TRAVIS_TAG | sed -e 's/^v//'`
 	git archive --prefix rdma-core-$REL_TAG/ --output rdma-core-$REL_TAG.tar $TRAVIS_TAG
-	tar -rf rdma-core-$REL_TAG.tar build-clang/pandoc-prebuilt/ --xform "s|build-clang/pandoc-prebuilt|rdma-core-$REL_TAG/buildlib/pandoc-prebuilt|g"
+	tar -rf rdma-core-$REL_TAG.tar buildlib/pandoc-prebuilt/ --xform "s|buildlib/pandoc-prebuilt|rdma-core-$REL_TAG/buildlib/pandoc-prebuilt|g"
 	gzip -9 rdma-core-$REL_TAG.tar
 fi
--
2.14.3

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux