Skip to content

Commit d6ca620

Browse files
committed
update scripts
1 parent 8f3c98f commit d6ca620

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

Diff for: iterating_api_endpoint/scripts/append_fixtures.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/usr/bin/env bash
22

3-
VERSION=$1
4-
53
directory="datasources/fixtures"
64
extensions=("csv" "ndjson")
75

@@ -14,7 +12,7 @@ for extension in "${extensions[@]}"; do
1412
file_name=$(basename "$file_path")
1513
file_name_without_extension="${file_name%.*}"
1614

17-
command="tb --semver $VERSION datasource append $file_name_without_extension datasources/fixtures/$file_name"
15+
command="tb datasource append $file_name_without_extension datasources/fixtures/$file_name"
1816
echo $command
1917
$command
2018
done

Diff for: iterating_api_endpoint/scripts/exec_test.sh

-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
#!/usr/bin/env bash
22

33
export TB_VERSION_WARNING=0
4-
export VERSION=$1
54

65
run_test() {
76
t=$1
87
echo "** Running $t **"
9-
# Check if VERSION is provided
10-
if [[ -n $VERSION ]]; then
11-
echo "VERSION found: $VERSION"
12-
sed -i "s/tb/tb --semver $VERSION/" $t
13-
else
14-
echo "VERSION not found"
15-
fi
168
echo "** $(cat $t)"
179
if res=$(bash $t $2 | diff -B ${t}.result -); then
1810
echo 'OK';

0 commit comments

Comments
 (0)