Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
update publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
YorkShen committed May 6, 2019
1 parent 9c926b2 commit 35a7a25
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions scripts/publish_release_candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@

git tag "$1-$2"
git push "$3" "$1-$2"
rm -rf "$TMPDIR""weex"
svn checkout https://dist.apache.org/repos/dist/dev/incubator/weex/ "$TMPDIR""weex"

if [ ! -d "$TMPDIR""weex" ]
then
svn checkout https://dist.apache.org/repos/dist/dev/incubator/weex/ "$TMPDIR""weex"
fi

mkdir -p "$TMPDIR""weex/""$1/$2"
echo "$TMPDIR""weex/""$1/$2"
cp "apache-weex-incubating-$1-$2-src.tar.gz" "apache-weex-incubating-$1-$2-src.tar.gz.asc" "apache-weex-incubating-$1-$2-src.tar.gz.sha512" "$TMPDIR""weex/""$1/$2"
cd "$TMPDIR""weex"
svn add "$1"
svn add "$1/$2"
svn commit -m "$4"

0 comments on commit 35a7a25

Please sign in to comment.