summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-30 23:20:13 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-30 23:20:13 +0000
commit14be11990630e3b23753fd3af35d5ed16375454d (patch)
tree2ad896b93148aeed7380016a24cf2c3fd6a76598
parent7b9f01e0ae1e4e36dd61a3e547a68b9271206caa (diff)
downloadopenocd_libswd-14be11990630e3b23753fd3af35d5ed16375454d.tar.gz
openocd_libswd-14be11990630e3b23753fd3af35d5ed16375454d.tar.bz2
openocd_libswd-14be11990630e3b23753fd3af35d5ed16375454d.tar.xz
openocd_libswd-14be11990630e3b23753fd3af35d5ed16375454d.zip
Add workaround to release script to update source code URL keyword.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2784 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rwxr-xr-xtools/release.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/release.sh b/tools/release.sh
index c1f7f7c2..c6ab64fe 100755
--- a/tools/release.sh
+++ b/tools/release.sh
@@ -495,10 +495,17 @@ do_release_step_package() {
local A=${PACKAGE_TAG}
local B=${A/https/http}
local PACKAGE_BUILD=${B/${USER}@/}
+
do_svn_switch "${PACKAGE_TAG}"
do_svn_switch --relocate "${PACKAGE_TAG}" "${PACKAGE_BUILD}"
+
+ # required to force SVN to update the in-source URL keyword
+ [ "${RELEASE_DRY_RUN}" ] || rm -v -f src/openocd.c
+ do_svn revert src/openocd.c
+
do_stage
do_clean
+
do_svn_switch --relocate "${PACKAGE_BUILD}" "${PACKAGE_TAG}"
do_svn_switch "${SVN_URL}"
}