diff options
author | Ramesh Murugan Iyer <ramesh.murugan.iyer@est.tech> | 2022-07-29 16:04:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-07-29 16:04:58 +0000 |
commit | 3681003052058b6a0577e4a693acb8d28bea7497 (patch) | |
tree | 5692a95368a2ed240b12934ef8c0f00efe889421 /integration/src/main/scripts/release/bumpSnapshots.sh | |
parent | 42ce17edcf2af2bc80990951a293ce398d53082f (diff) | |
parent | 2da18f6d0be535eb2ae0afc74b945a39ccd8d7a8 (diff) |
Merge "Update docker files base images to snapshots"
Diffstat (limited to 'integration/src/main/scripts/release/bumpSnapshots.sh')
-rwxr-xr-x | integration/src/main/scripts/release/bumpSnapshots.sh | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/integration/src/main/scripts/release/bumpSnapshots.sh b/integration/src/main/scripts/release/bumpSnapshots.sh index c67e81ff..73eccd9e 100755 --- a/integration/src/main/scripts/release/bumpSnapshots.sh +++ b/integration/src/main/scripts/release/bumpSnapshots.sh @@ -178,9 +178,14 @@ do mv "$temp_file" "$repo_location/$repo/version.properties" fi - updateRefs.sh -pcmoxs -d "$release_data_file" -l "$repo_location" -r "$repo" - - if [ "$(git -C "$repo_location/$specified_repo" status | grep '^[ \t]*modified:[ \t]*pom.xml' > /dev/null 2>&1)" = 0 ] + updateRefs.sh -pcmokxs -d "$release_data_file" -l "$repo_location" -r "$repo" + + if [ "$(git -C "$repo_location/$specified_repo" status | + grep \ + -e '^\s*modified:\s*pom.xml$' \ + -e '^\s*modified:\s*.*Dockerfile$' \ + > /dev/null 2>&1)" \ + = 1 ] then references_updated=0 else |