Skip to content

Commit

Permalink
Travis glob fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNetAdmin committed Jun 11, 2019
1 parent 68311fd commit 1491534
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ deploy:
skip_cleanup: true
api_key:
secure: luo4oHFf5+TZ/Nr74CN6/N73L5ndFQn/FtTnwo8Hj98x9Tr4zRCh9MYXzkR4+0KIx6T/X225BqhH71+zdMG9ZR84TTjuxPINKCxG1GLMGqCcMmsKpZb/IPGOi3Ku7BJOQmg+FM3Xi1STT6LpHIpEeK8mb5fkXOc8irEV1C82Z30j23n/fpUnkpQINBlKLiobe2AwzDsJmVxwffN0MuoqOIaeYW2m/hJ3ESDx3ocyYLR0GGpalV87TkIcmIG78XkBZy76pevd9tHy2XiUQXnoM1E2kyoQJJTWz26tCqa5+F8CfzZE7JruS2AdK8ZRu7X/xJ0hBVb0j+kw5QI2W7xxQZRaOgep6U3uaul4fCdkkwmZRwLh3WNYm6hX+UtpP49jY8WdOtsyOckp5pmhLWbRb8xheYcXyeoQC8n/b1eagtsetcpOyJDgsuSdaSljqrtBfC2wOiYuQwSv6SOWdLKqMCR2/8/YVrauGAffK3nlTkIXI3Odw7G7Lmjfwjf7l4mtZ37rPFTyJf8utJUWpPN6K5Cl3g9GZMvU2sogZknK/nlOw5rDHBkWlTtE3tcULhmXXudEj75vHIx/vNB2JNg1xofKvf8Z+oAjmWX/d7eohCW2y0ycaINIwRbKsLZ7sqMOip/naKRW53w5a2K2dGAC3JXkUOntzrTwUOaz02LQDoY=
file_glob: true
file: "dist/*.pdf"
on:
repo: TheNetAdmin/zjuthesis
Expand Down
2 changes: 1 addition & 1 deletion config/version.tex
Original file line number Diff line number Diff line change
@@ -1 +1 @@
\newcommand{\zjuthesisversion}{3.0.2}
\newcommand{\zjuthesisversion}{3.0.3}
8 changes: 7 additions & 1 deletion script/draft_new_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
old_ver=$(perl -lne 'print $1 if /([0-9]+\.[0-9]+\.[0-9]+)/' config/version.tex)
new_ver=$1

if [ -z $new_ver ]
then
echo "No new version specified"
exit 1
fi

echo "$old_ver ==> $new_ver"
echo "Press any key to proceed"
read
Expand All @@ -18,4 +24,4 @@ git commit

echo "Press any key to tag current commit"
read
git tag -a "v$new_ver"
git tag -a "v$new_ver"

0 comments on commit 1491534

Please sign in to comment.