forked from mysql/mysql-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request mysql#15 from planetscale/piki/cherry-picks
Cherry picks from 8.0.23 -> 8.0.28
- Loading branch information
Showing
9 changed files
with
92 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
set -eu | ||
|
||
TODAY=$(date +"%Y%m%d") | ||
[ -n "$TODAY" ] | ||
echo "Today = \"${TODAY}\"" | ||
|
||
git log -25000 --format='%H' | sort > tmp-log | ||
git show-ref | grep tags/mysql-8 | sort > tmp-tags | ||
export CONTAINER_SEMVER=$(join tmp-log tmp-tags | sort -k2 | tail -1 | cut -d- -f2) | ||
export CONTAINER_SEMVER=$(join tmp-log tmp-tags | sort -t. -n -k3 | tail -1 | cut -d- -f2) | ||
[ -n "$CONTAINER_SEMVER" ] | ||
export CONTAINER_SEMVER="$CONTAINER_SEMVER.$TODAY" | ||
echo "Semantic version = \"${CONTAINER_SEMVER}\"" | ||
|
||
export CONTAINER_SHORT_SHA=$(git log -1 --pretty='%h') | ||
[ -n "$CONTAINER_SHORT_SHA" ] | ||
echo "Short SHA = \"${CONTAINER_SHORT_SHA}\"" | ||
|
||
export CONTAINER_BRANCH_NAME=$(echo "$BUILDKITE_BRANCH" | sed -e 's/[\/:]/_/g') | ||
[ -n "$CONTAINER_BRANCH_NAME" ] | ||
echo "Safe branch name = \"${CONTAINER_BRANCH_NAME}\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters