rhtyd commented on issue #2433: Fix and enhance package script URL: https://github.com/apache/cloudstack/pull/2433#issuecomment-361885876 FYI - here's how blueorangutan does centos7 packaging, with jenkins: (the BUILD_ID can be `shapeblue0`, or any name you want to provide) ``` export MINOR=${BUILD_ID} export VERSION=$(grep '^ <version>' pom.xml| cut -d'>' -f2 |cut -d'<' -f1) export BASE_VERSION=$(echo $VERSION | awk -F . '{print $1"."$2}') [... other build code snipped ...] sed -i "s/^.*DEFREL=.*$/ DEFREL='-D_rel ${MINOR}'/g" package.sh bash -x package.sh -p noredist -d centos7 ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
