Tony CHEMIT pushed to branch develop-5.x at ultreia.io / ird-observe
Commits:
-
ca18ac86
by Tony CHEMIT at 2017-03-06T09:33:57+01:00
1 changed file:
Changes:
| ... | ... | @@ -28,6 +28,12 @@ STAGE_ID=$(mvn nexus-staging:rc-list | grep ${STAGE} | cut -d' ' -f2) |
| 28 | 28 |
echo "Closing stage: $STAGE_ID ($LOG_DIR/release-close.log)"
|
| 29 | 29 |
mvn nexus-staging:close -DstagingRepositoryId=${STAGE_ID} --log-file ${LOG_DIR}/release-close.log
|
| 30 | 30 |
|
| 31 |
+echo "Update changelog ($LOG_DIR/release-changelog.log)"
|
|
| 32 |
+mvn -N -Pupdate-staging-changelog -Dgitlab.milestone=${VERSION} -Dgitlab.stagingUrl=https://oss.sonatype.org/content/repositories/${STAGE}-${STAGE_ID} --log-file ${LOG_DIR}/release-changelog.log
|
|
| 33 |
+ |
|
| 34 |
+git commit -m "Update changelog for version $VERSION" CHANGELOG.md
|
|
| 35 |
+ |
|
| 36 |
+git stash
|
|
| 31 | 37 |
git checkout ${PROJECT}-${VERSION}
|
| 32 | 38 |
|
| 33 | 39 |
echo "Generate site: ($LOG_DIR/release-site.log)"
|
| ... | ... | @@ -36,11 +42,5 @@ mvn verify site-deploy -DskipTests -DperformRelease --log-file ${LOG_DIR}/releas |
| 36 | 42 |
echo "Deploy demo: ($LOG_DIR/release-demo.log)"
|
| 37 | 43 |
mvn install -am -pl application-web -DskipTests -DperformRelease -Pdeploy-demo --log-file ${LOG_DIR}/release-demo.log
|
| 38 | 44 |
|
| 39 |
-echo "Update changelog ($LOG_DIR/release-changelog.log)"
|
|
| 40 |
-mvn -N -Pupdate-changelog -Dgitlab.staging -Dgitlab.stagingUrl=https://oss.sonatype.org/content/repositories/${STAGE}-${STAGE_ID} --log-file ${LOG_DIR}/release-changelog.log
|
|
| 41 |
- |
|
| 42 |
-cp CHANGELOG.md /tmp
|
|
| 43 | 45 |
git stash
|
| 44 |
-git checkout ${DEVELOP}
|
|
| 45 |
-mv /tmp/CHANGELOG.md .
|
|
| 46 |
-git commit -m "Update changelog for version $VERSION" CHANGELOG.md
|
|
| \ No newline at end of file | ||
| 46 |
+git checkout ${DEVELOP}
|
|
| \ No newline at end of file |