Add workaround to release script to update source code URL keyword.
---
release.sh | 7 +++++++
1 file changed, 7 insertions(+)
Add workaround to release script to update source code URL keyword.
---
release.sh | 7 +++++++
1 file changed, 7 insertions(+)
======
diff -u tools/release.sh tools/release.sh
--- tools/release.sh (working copy)
+++ tools/release.sh (working copy)
@@ -495,10 +495,17 @@
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}"
}
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development