mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 18:26:34 +02:00
👷 Update release script
This commit is contained in:
parent
6e84082c42
commit
4c2a59ce0f
1 changed files with 0 additions and 5 deletions
|
@ -2,11 +2,6 @@
|
||||||
|
|
||||||
read -p "Enter the new version number: " new_version
|
read -p "Enter the new version number: " new_version
|
||||||
|
|
||||||
# Check if the version number follows semver format
|
|
||||||
if ! [[ $new_version =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
|
||||||
echo "Error: Invalid version number. The version number must follow the semver format (e.g. 1.0.0)."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -f "package.json" ]; then
|
if [ ! -f "package.json" ]; then
|
||||||
echo "Error: package.json file not found."
|
echo "Error: package.json file not found."
|
||||||
|
|
Loading…
Add table
Reference in a new issue