Skip to content

Commit

Permalink
Update version to 0.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jxpeng98 committed Feb 17, 2024
1 parent 5953654 commit e164e98
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
5 changes: 4 additions & 1 deletion paper_template.typ
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@






///////////////////////////////
// This Typst template is for working paper draft.
// It is based on the general SSRN paper.
// Copyright (c) 2024
// Author: Jiaxin Peng
// License: MIT
// Version: 0.3.7
// Version: 0.3.8
// Date: 2024-02-17
// Email: jiaxin.peng@outlook.com
///////////////////////////////
Expand Down
9 changes: 8 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@ if [ ! -d "$HOME/Library/Application Support/typst/packages/local/papertemplate/
exit 1
fi

cp paper_template.typ typst.toml -r "$HOME/Library/Application Support/typst/packages/local/papertemplate/$1"
if [ -f paper_template.typ ] && [ -f typst.toml ]; then
cp -r paper_template.typ typst.toml "$HOME/Library/Application Support/typst/packages/local/papertemplate/$1"
echo "Successfully copied files to $HOME/Library/Application Support/typst/packages/local/papertemplate/$1"
else
echo "One or more files do not exist in the current directory."
exit 1
fi


git add .
git commit -m "Update version to $1"
Expand Down
2 changes: 1 addition & 1 deletion typst.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "workingpaper"
version = "0.3.7"
version = "0.3.8"
entrypoint = "paper_template.typ"
authors = [ "Jiaxin PENG",]
license = "Unlicense"
Expand Down

0 comments on commit e164e98

Please # to comment.