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

Commit

Permalink
Update publish srcript
Browse files Browse the repository at this point in the history
  • Loading branch information
YorkShen committed Apr 29, 2019
1 parent 5f82b4c commit ab1d292
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions scripts/publish_release_candidate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
# specific language governing permissions and limitations
# under the License.

git tag "$1-$2"
git push "$3" "$1-$2"
cd $TMPDIR
svn checkout https://dist.apache.org/repos/dist/dev/incubator/weex/ $TMPDIR
mkdir -p "$TMPDIR/$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 "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"
# git tag "$1-$2"
# git push "$3" "$1-$2"
svn checkout https://dist.apache.org/repos/dist/dev/incubator/weex/ "$TMPDIR""weex"
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 commit -m "$4"

0 comments on commit ab1d292

Please sign in to comment.