File tree 1 file changed +4
-2
lines changed
test_vector_handlers/scripts
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 7
7
# Change to the directory of the script
8
8
cd " $( dirname " $0 " ) "
9
9
10
- # Get MPL version specified in requirements.txt
11
- export mplVersion=$( grep ' aws-cryptographic-material-providers==' ../requirements_mpl.txt | sed -E ' s/.*==(.+)/\1/' )
10
+ # Get highest MPL version specified in requirements.txt
11
+ # export mplVersion=$(grep 'aws-cryptographic-material-providers==' ../requirements_mpl.txt | sed -E 's/.*==//' | tr ',' '\n' | sed -E 's/^[^0-9]*//' | sort -V | tail -n1)
12
+ # Get lowest MPL version specified in requirements.txt
13
+ export mplVersion=$( grep ' aws-cryptographic-material-providers==' ../requirements_mpl.txt | sed -E ' s/.*==//' | tr ' ,' ' \n' | sed -E ' s/^[^0-9]*//' | sort -V | head -n1)
12
14
13
15
# Clone MPL repo to get test vectors runner source code and the Dafny version to use
14
16
git clone --branch v$mplVersion --recurse-submodules https://github.com/aws/aws-cryptographic-material-providers-library.git
You can’t perform that action at this time.
0 commit comments