You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2013/02/21 13:29:27 UTC

git commit: Update my release script

Updated Branches:
  refs/heads/wicket-1.5.x 270c57d0c -> 952aa0c74


Update my release script


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/952aa0c7
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/952aa0c7
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/952aa0c7

Branch: refs/heads/wicket-1.5.x
Commit: 952aa0c7433b38cb217679360e0610673381aed4
Parents: 270c57d
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Thu Feb 21 14:28:57 2013 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Thu Feb 21 14:28:57 2013 +0200

----------------------------------------------------------------------
 release-martin.sh |   19 ++++++++++++-------
 1 files changed, 12 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/952aa0c7/release-martin.sh
----------------------------------------------------------------------
diff --git a/release-martin.sh b/release-martin.sh
index f3abf28..993aef3 100755
--- a/release-martin.sh
+++ b/release-martin.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #  Licensed to the Apache Software Foundation (ASF) under one or more
 #  contributor license agreements.  See the NOTICE file distributed with
 #  this work for additional information regarding copyright ownership.
@@ -116,7 +116,7 @@ echo "$passphrase" | gpg --passphrase-fd 0 --armor --output $filename.asc --deta
 
 echo "Creating Git archive..."
 mkdir -p target/git
-gitarchive="target/git/apache-wicket-$version-git.tgz"
+gitarchive="target/git/apache-wicket-$version-source.tgz"
 git archive --format=tgz  --prefix=apache-wicket-$version/ -o $gitarchive build/wicket-$version
 gpg --print-md MD5 $gitarchive > $gitarchive.md5
 gpg --print-md SHA1 $gitarchive > $gitarchive.sha
@@ -126,8 +126,13 @@ echo "Publishing build branch"
 git push origin $branch:refs/heads/$branch
 
 echo "Uploading release"
-svn export http://svn.apache.org/repos/asf/wicket/common/KEYS target/dist/KEYS
-ssh mgrigorov@people.apache.org mkdir -p dist/wicket-$version public_html/wicket-$version
-scp -r target/dist mgrigorov@people.apache.org:dist/wicket-$version
-scp -r $gitarchive* mgrigorov@people.apache.org:public_html/wicket-$version
-
+mkdir -p target/svn-dist/binaries
+pushd target/svn-dist
+svn mkdir https://mgrigorov@dist.apache.org/repos/dist/dev/wicket/$version -m "Create $version release staging area for sources"
+svn co --force --depth=empty https://mgrigorov@dist.apache.org/repos/dist/dev/wicket/$version .
+cp ../../CHANGELOG* .
+cp ../../$gitarchive* .
+cp ../dist/* binaries
+svn add *
+svn commit -m "Upload wicket-$version to staging area"
+popd