From 0ff168262ab92008ee47523dc1b1bdd3af1b53a5 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Sat, 11 Feb 2017 19:32:35 -0500 Subject: [PATCH] make_src_release - Updates for the move from sourceforge to github --- Scripts/make_src_release | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Scripts/make_src_release b/Scripts/make_src_release index 46e8a914..f2425a30 100755 --- a/Scripts/make_src_release +++ b/Scripts/make_src_release @@ -26,7 +26,7 @@ echo "make_src_release $1 $2" baseOutputDirectory=$1 releaseVersion=$2 -gitRemotePublicPath=git://sharppcap.git.sourceforge.net/gitroot/sharppcap/sharppcap +githubSvnPath=https://github.com/chmorgan/sharppcap/tags/ # setup some variables baseOutputDirectory=${baseOutputDirectory}/src @@ -36,6 +36,8 @@ outputName=SharpPcap-${releaseVersion} # build the tag by converting the '.' in the version to '_' tag=SharpPcap_${2//./_} -# create a zip file of the appropriate tag -git archive --format=zip --remote=${gitRemotePublicPath} $tag > ${baseOutputDirectory}/${outputName}.src.zip +# export the files to a temporary folder +svn export ${githubSvnPath}/$tag ${baseOutputDirectory}/$tag +# create a zip file +zip -r ${baseOutputDirectory}/${outputName}.src.zip ${baseOutputDirectory}/$tag