Skip to content

Commit 69ce8e8

Browse files
Fix/hack build-deploy-tarball to allow buster builds
1 parent eef81c0 commit 69ce8e8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

script/build-deploy-tarball

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ gzip $tarball
2828
mkdir -p "$BUILD_ARTIFACT_DIR"/gh-ost
2929
cp ${tarball}.gz "$BUILD_ARTIFACT_DIR"/gh-ost/
3030

31-
### HACK HACK HACK ###
32-
# blame @carlosmn and @mattr-
33-
# Allow builds on stretch to also be used for jessie
31+
### HACK HACK HACK HACK ###
32+
# blame @carlosmn, @mattr and @timvaillancourt-
33+
# Allow builds on buster to also be used for streth + jessie
34+
stretch_tarball_name=$(echo $(basename "${tarball}") | sed s/-buster-/-stretch-/)
3435
jessie_tarball_name=$(echo $(basename "${tarball}") | sed s/-stretch-/-jessie-/)
36+
cp ${tarball}.gz "$BUILD_ARTIFACT_DIR/gh-ost/${stretch_tarball_name}.gz"
3537
cp ${tarball}.gz "$BUILD_ARTIFACT_DIR/gh-ost/${jessie_tarball_name}.gz"

0 commit comments

Comments
 (0)