Skip to content

Commit

Permalink
firstly, see if it builds :)
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK committed Dec 12, 2024
1 parent 94a287d commit 50e62f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions codebuild/cd/test-fips-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ cd ./crt/aws-lc || exit 1
# Get the current commit hash
current_commit=$(git rev-parse HEAD)

# Check if the current commit is from the "fips-2022-11-02" branch
if git merge-base --is-ancestor "$current_commit" "origin/fips-2022-11-02"; then
echo "Current aws-lc commit is from the 'fips-2022-11-02' branch"
# Check if the current commit is from the "fips-2024-09-27" branch
if git merge-base --is-ancestor "$current_commit" "origin/fips-2024-09-27"; then
echo "Current aws-lc commit is from the 'fips-2024-09-27' branch"
status=0
else
echo "Error: Current aws-lc commit is not from the 'fips-2022-11-02' branch"
echo "Error: Current aws-lc commit is not from the 'fips-2024-09-27' branch"
status=1
fi

Expand Down
2 changes: 1 addition & 1 deletion crt/aws-lc

0 comments on commit 50e62f0

Please sign in to comment.