Commit 1a1099e5 authored by Éloïs's avatar Éloïs

[fix] release script

parent 22e0cb23
......@@ -6,7 +6,7 @@ echo "Current version: $current"
if [[ $1 =~ ^[0-9]+.[0-9]+.[0-9]+((a|b)[0-9]+)?$ ]]; then
# Change the version in package.json and test file
sed -i "s/version\": \"$current/version\": \"$1/g" package.json
sed -i "s/$current/$1/g" package.json
sed -i "s/$current/$1/g" views/about.html
# Commit
git reset HEAD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment