Github user aledsage commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/678#discussion_r31718321
  
    --- Diff: usage/scripts/change-version.sh ---
    @@ -63,7 +63,7 @@ FILES_COUNT=`echo $FILES | wc | awk '{print $2}'`
     if [ ${FILES_COUNT} -ne 0 ]; then
         # search for files containing version markers
         sed -i.bak -e 
"/${VERSION_MARKER}/s/${CURRENT_VERSION}/${NEW_VERSION}/g" $FILES
    -    sed -i.bak -e 
"/${VERSION_MARKER_NL}/n;s/${CURRENT_VERSION}/${NEW_VERSION}/g" $FILES
    +    sed -i.bak -e 
"/${VERSION_MARKER_NL}/{n;s/${CURRENT_VERSION}/${NEW_VERSION}/g;}" $FILES
    --- End diff --
    
    Great, hadn't realised that (and didn't just look at the code!). Works 
well. Merging.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to