Merge "Add manifest build to groups portal release job"
This commit is contained in:
commit
df336ad6c6
@ -53,6 +53,17 @@
|
||||
md5sum groups-$PROJECT_VER.tar.gz > groups-$PROJECT_VER.md5
|
||||
sed s/$PROJECT_VER/latest/g groups-$PROJECT_VER.md5 > groups-latest.md5
|
||||
cd ..
|
||||
# build manifest file
|
||||
if [[ "$COMMITS_SINCE_TAG" == "" ]]; then
|
||||
VERSION=7.x-$PROJECT_VER
|
||||
else
|
||||
VERSION=7.x-0.x-dev
|
||||
fi
|
||||
MD5HASH=$(cat tarballs/groups-$PROJECT_VER.md5 | cut -d ' ' -f1)
|
||||
OUTFILE=drupal-updates/release-history/groups/7.x
|
||||
MANIFESTURL=http://tarballs.openstack.org/groups/drupal-updates/release-history/groups/7.x
|
||||
mkdir -p drupal-updates/release-history/groups
|
||||
scripts/release-manifest.php --version=$VERSION --releasetar=groups-$PROJECT_VER.tar.gz --md5=$MD5HASH --outfile=$OUTFILE --manifesturl=$MANIFESTURL --verbose --debug
|
||||
publishers:
|
||||
- console-log
|
||||
- coverage-log
|
||||
@ -60,7 +71,7 @@
|
||||
site: 'static.openstack.org'
|
||||
files:
|
||||
- target: 'logs/$LOG_PATH'
|
||||
source: './reports/**'
|
||||
source: 'reports/**'
|
||||
keep-hierarchy: true
|
||||
copy-after-failure: true
|
||||
- target: 'tarballs/groups/'
|
||||
@ -71,3 +82,7 @@
|
||||
source: 'tarballs/*.md5'
|
||||
keep-hierarchy: false
|
||||
copy-after-failure: false
|
||||
- target: 'tarballs/groups/'
|
||||
source: 'drupal-updates/**'
|
||||
keep-hierarchy: true
|
||||
copy-after-failure: false
|
||||
|
Loading…
Reference in New Issue
Block a user