gradio-parking / increment-version.sh
go2sujeet
Added .history and node_modules/ to .gitignore
edfe352
raw
history blame contribute delete
227 Bytes
#!/bin/bash
# Assumes a VERSION file with the version e.g., 1.0.0
VERSION=$(cat VERSION)
NEW_VERSION=$(npx semver $VERSION -i patch)
echo $NEW_VERSION > VERSION
git add VERSION
git commit -m "Increment version to $NEW_VERSION"