Skip to content

Commit

Permalink
Upgrade with graduate template
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNetAdmin committed Jul 20, 2019
1 parent 61f340f commit ff76a3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/version.tex
Original file line number Diff line number Diff line change
@@ -1 +1 @@
\newcommand{\zjuthesisversion}{3.3.0}
\newcommand{\zjuthesisversion}{4.0.0}
5 changes: 3 additions & 2 deletions script/release/draft_new_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ new_ver=$1

if [ -z $new_ver ]
then
echo "No new version specified"
echo "No new version specified, current version $old_ver"
echo "Usage: $0 version_number(without leading 'v')"
exit 1
fi

Expand All @@ -17,7 +18,7 @@ echo "Update config/version.tex"
sed -r -i "s/[0-9]+\.[0-9]+\.[0-9]+/$new_ver/" config/version.tex || true
cat config/version.tex
git add config/version.tex
git commit
git commit -a

echo "Press any key to tag current commit"
read
Expand Down

0 comments on commit ff76a3e

Please sign in to comment.