Merging upstream version 23.13.7.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
5354237ad5
commit
73214d5324
38 changed files with 5529 additions and 5366 deletions
11
.github/workflows/should_deploy_sqlglotrs.sh
vendored
Normal file
11
.github/workflows/should_deploy_sqlglotrs.sh
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
CARGO_TOML_PATH="./sqlglotrs/Cargo.toml"
|
||||
CARGO_TOML_MOST_RECENT_COMMIT=$(git log -1 --pretty="%H" -- $CARGO_TOML_PATH | head -1)
|
||||
|
||||
PREVIOUS_TAG=$(git tag --sort=-creatordate | head -n 2 | tail -n 1)
|
||||
PREVIOUS_TAG_COMMIT=$(git rev-list -n 1 $PREVIOUS_TAG)
|
||||
|
||||
# We should only deploy sqlglotrs if Cargo.toml was modified between this tag and the previous one
|
||||
git merge-base --is-ancestor $PREVIOUS_TAG_COMMIT $CARGO_TOML_MOST_RECENT_COMMIT
|
Loading…
Add table
Add a link
Reference in a new issue