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
This commit is contained in:
parent
7b9f01e0ae
commit
14be119906
|
@ -495,10 +495,17 @@ do_release_step_package() {
|
||||||
local A=${PACKAGE_TAG}
|
local A=${PACKAGE_TAG}
|
||||||
local B=${A/https/http}
|
local B=${A/https/http}
|
||||||
local PACKAGE_BUILD=${B/${USER}@/}
|
local PACKAGE_BUILD=${B/${USER}@/}
|
||||||
|
|
||||||
do_svn_switch "${PACKAGE_TAG}"
|
do_svn_switch "${PACKAGE_TAG}"
|
||||||
do_svn_switch --relocate "${PACKAGE_TAG}" "${PACKAGE_BUILD}"
|
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_stage
|
||||||
do_clean
|
do_clean
|
||||||
|
|
||||||
do_svn_switch --relocate "${PACKAGE_BUILD}" "${PACKAGE_TAG}"
|
do_svn_switch --relocate "${PACKAGE_BUILD}" "${PACKAGE_TAG}"
|
||||||
do_svn_switch "${SVN_URL}"
|
do_svn_switch "${SVN_URL}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue