Fix/hack build-deploy-tarball to allow buster builds
This commit is contained in:
parent
eef81c0f73
commit
69ce8e869a
@ -28,8 +28,10 @@ gzip $tarball
|
|||||||
mkdir -p "$BUILD_ARTIFACT_DIR"/gh-ost
|
mkdir -p "$BUILD_ARTIFACT_DIR"/gh-ost
|
||||||
cp ${tarball}.gz "$BUILD_ARTIFACT_DIR"/gh-ost/
|
cp ${tarball}.gz "$BUILD_ARTIFACT_DIR"/gh-ost/
|
||||||
|
|
||||||
### HACK HACK HACK ###
|
### HACK HACK HACK HACK ###
|
||||||
# blame @carlosmn and @mattr-
|
# blame @carlosmn, @mattr and @timvaillancourt-
|
||||||
# Allow builds on stretch to also be used for jessie
|
# Allow builds on buster to also be used for streth + jessie
|
||||||
|
stretch_tarball_name=$(echo $(basename "${tarball}") | sed s/-buster-/-stretch-/)
|
||||||
jessie_tarball_name=$(echo $(basename "${tarball}") | sed s/-stretch-/-jessie-/)
|
jessie_tarball_name=$(echo $(basename "${tarball}") | sed s/-stretch-/-jessie-/)
|
||||||
|
cp ${tarball}.gz "$BUILD_ARTIFACT_DIR/gh-ost/${stretch_tarball_name}.gz"
|
||||||
cp ${tarball}.gz "$BUILD_ARTIFACT_DIR/gh-ost/${jessie_tarball_name}.gz"
|
cp ${tarball}.gz "$BUILD_ARTIFACT_DIR/gh-ost/${jessie_tarball_name}.gz"
|
||||||
|
Loading…
Reference in New Issue
Block a user