make sure all versions strings are updated after directory reorganization
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6047 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
DOCS_FILE="docs.tar.gz"
|
DOCS_FILE="docs.tar.gz"
|
||||||
currentVersion=5.0<
|
currentVersion=5.0
|
||||||
option="${1}"
|
option="${1}"
|
||||||
|
|
||||||
function tarball-docs() {
|
function tarball-docs() {
|
||||||
|
@ -49,7 +49,7 @@ update_regexp "tag>pmd_release_[0-9].*<" "tag>pmd_release_$release_tag<" tool/ma
|
|||||||
|
|
||||||
update_regexp "^ <version>[0-9].*<" " <version>$1<" pom.xml
|
update_regexp "^ <version>[0-9].*<" " <version>$1<" pom.xml
|
||||||
|
|
||||||
update_regexp "^currentVersion=.*" "currentVersion=$1<" docs.sh
|
update_regexp "^currentVersion=.*" "currentVersion=$1" docs.sh
|
||||||
|
|
||||||
update_jar $1 etc/cpd.jnlp
|
update_jar $1 etc/cpd.jnlp
|
||||||
update_jar $1 xdocs/running.xml
|
update_jar $1 xdocs/running.xml
|
||||||
|
Reference in New Issue
Block a user