Skip to content

Commit

Permalink
Merge pull request #879 from github/fix-buster-tarball-build
Browse files Browse the repository at this point in the history
Fix buster tarball build
  • Loading branch information
timvaillancourt authored Aug 20, 2020
2 parents eef81c0 + ee91745 commit ce03757
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions script/build-deploy-tarball
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ gzip $tarball
mkdir -p "$BUILD_ARTIFACT_DIR"/gh-ost
cp ${tarball}.gz "$BUILD_ARTIFACT_DIR"/gh-ost/

### HACK HACK HACK ###
# blame @carlosmn and @mattr-
# Allow builds on stretch to also be used for jessie
jessie_tarball_name=$(echo $(basename "${tarball}") | sed s/-stretch-/-jessie-/)
### HACK HACK HACK HACK ###
# blame @carlosmn, @mattr and @timvaillancourt-
# Allow builds on buster to also be used for stretch + jessie
stretch_tarball_name=$(echo $(basename "${tarball}") | sed s/-buster-/-stretch-/)
jessie_tarball_name=$(echo $(basename "${stretch_tarball_name}") | 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"

0 comments on commit ce03757

Please sign in to comment.