Skip to content

Commit

Permalink
Update deploy script to remove patch versions
Browse files Browse the repository at this point in the history
  • Loading branch information
haxiomic committed Dec 5, 2023
1 parent ac759ec commit bf47876
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions misc/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ set -e
version_info=$(npm list --depth=0 | grep "@lumaai/luma-web")
# Extract just the version number
luma_package_version=$(echo $version_info | grep -oE '\b[0-9]+\.[0-9]+\.[0-9]+\b')
# We only care about major.minor, so remove the patch version
luma_package_version="${luma_package_version%.*}"
# Get the latest git commit hash
git_hash=$(git rev-parse --short HEAD)

Expand Down

0 comments on commit bf47876

Please sign in to comment.