Skip to content

Commit

Permalink
More error checking (#6179)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth MacKenzie authored Jun 5, 2024
1 parent f601fb9 commit a2c6bc0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ VERSION=$2

IFS='.' read -r -a components <<< "$VERSION"

if [[ ${#components[@]} < 2 ]]; then
echo "Too few components in version number" $VERSION "(need at least two)"
usage
exit 1
fi

major_version="${components[0]}.${components[1]}"

echo "Updating version of $PACKAGE to $VERSION"
Expand Down

1 comment on commit a2c6bc0

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Plutus Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.05.

Benchmark suite Current: a2c6bc0 Previous: f601fb9 Ratio
validation-decode-auction_2-4 553.6 μs 513.7 μs 1.08
validation-decode-auction_2-5 196.3 μs 185.3 μs 1.06
validation-decode-escrow-redeem_1-1 317.5 μs 301.7 μs 1.05
validation-decode-escrow-redeem_2-1 337.7 μs 301.1 μs 1.12
validation-decode-future-settle-early-1 236.9 μs 225.2 μs 1.05

This comment was automatically generated by workflow using github-action-benchmark.

CC: @input-output-hk/plutus-core

Please sign in to comment.