forked from pingcap/br
-
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.
backup/checksum: add cluster index support for ranges (pingcap#1120) lightning/restore: support ingset multi ssts for same range (pingcap#1089) * ingest ssts for the same range in a batch * make ingest compatible with old tikv tests: add row count check for br clustered index tests (pingcap#1151) storage: mkdirAll for local storage even when SkipCheckPath is true (pingcap#1156) tests/br: fix bug in issue pingcap#1158 (pingcap#1160) tests/br/compatibility: fix failed for manifest unknown (pingcap#1161) *: upgrade go version from 1.13/1.15 to 1.16 (pingcap#1159) action trigger: fix compatibility trigger bug on push (pingcap#1170) address comment fix test address comment address comment fix build add ut for ignore columns go.mod: update tidb to the new version (pingcap#1153) lightning: support restore data into tables that contains data (pingcap#784) fix conflict after merge master
- Loading branch information
Showing
82 changed files
with
2,836 additions
and
562 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# update tags | ||
git fetch --tags | ||
|
||
getLatestTags() { | ||
release_5_branch_regex="^release-5\.[0-9].*$" | ||
release_4_branch_regex="^release-4\.[0-9].*$" | ||
TOTAL_TAGS=$(git for-each-ref --sort=creatordate refs/tags | awk -F '/' '{print $3}') | ||
filter='alpha' | ||
# latest tags | ||
TAGS=$(echo $TOTAL_TAGS | tr ' ' '\n' | grep -v $filter | tail -n3) | ||
if git rev-parse --abbrev-ref HEAD | egrep -q $release_5_branch_regex | ||
then | ||
# If we are in release-5.0 branch, try to use latest 3 version of 5.x and last 4.x version | ||
TAGS=$(echo $TOTAL_TAGS | tr ' ' '\n' | fgrep "v4." | grep -v $filter | tail -n1 && echo $TOTAL_TAGS | tr ' ' '\n' | fgrep "v5." | grep -v $filter | tail -n3) | ||
elif git rev-parse --abbrev-ref HEAD | egrep -q $release_4_branch_regex | ||
then | ||
# If we are in release-4.0 branch, try to use latest 3 version of 4.x | ||
TAGS=$(echo $TOTAL_TAGS | tr ' ' '\n' | fgrep "v4." | grep -v $filter | tail -n3) | ||
fi | ||
} |
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
Oops, something went wrong.