Skip to content

Commit

Permalink
(#8) udpate deploy sh
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintAngeLs committed Jan 14, 2025
1 parent c667dbd commit 9a2f8ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ set -e

echo "Starting deployment script..."

if ! git log -1 --pretty=%B | grep -q '\[deploy\]'; then
echo "No [deploy] tag found in the commit message. Exiting deployment script."
exit 0
fi

if [ -f VERSION ]; then
version=$(cat VERSION)
IFS='.' read -r major minor patch <<<"$version"
Expand Down

0 comments on commit 9a2f8ae

Please sign in to comment.