Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubospica committed Dec 7, 2024
1 parent 7cc2814 commit 14b718c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/release_new_version.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
#!/bin/bash

# Usage: ./scripts/release_new_version.sh <version>

set -ex

if [ -z "$1" ]; then
echo "Error: Version argument is required"
echo "Usage: $0 <version>"
exit 1
fi

git fetch origin main
git checkout FETCH_HEAD
git commit -m "Tag $1" --allow-empty
Expand Down

0 comments on commit 14b718c

Please sign in to comment.