Skip to content

Commit

Permalink
Fix the opam-release.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
dinosaure committed Apr 5, 2024
1 parent 2d8b65d commit 6ebb32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/opam-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fi
GIT_VERSION=$(git -C . describe --dirty --tags --always)

DEV=
if ! echo "$GIT_VERSION" | egrep -q '^v[0-9]+.[0-9]+.[0-9]+$'; then
if ! echo "$GIT_VERSION" | grep -q -E '^v[0-9]+.[0-9]+.[0-9]+$'; then
echo "WARNING: Not a clean Git release: $GIT_VERSION"
echo "WARNING: This is almost certainly not what you want."
DEV=~dev
Expand Down

0 comments on commit 6ebb32c

Please sign in to comment.