File tree 2 files changed +1
-11
lines changed
iterating_api_endpoint/scripts
2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
- VERSION=$1
4
-
5
3
directory=" datasources/fixtures"
6
4
extensions=(" csv" " ndjson" )
7
5
@@ -14,7 +12,7 @@ for extension in "${extensions[@]}"; do
14
12
file_name=$( basename " $file_path " )
15
13
file_name_without_extension=" ${file_name% .* } "
16
14
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 "
18
16
echo $command
19
17
$command
20
18
done
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
export TB_VERSION_WARNING=0
4
- export VERSION=$1
5
4
6
5
run_test () {
7
6
t=$1
8
7
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
16
8
echo " ** $( cat $t ) "
17
9
if res=$( bash $t $2 | diff -B ${t} .result -) ; then
18
10
echo ' OK' ;
You can’t perform that action at this time.
0 commit comments