Skip to content

Commit

Permalink
update version on titlepage (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
wuan authored Dec 7, 2022
1 parent e55568a commit 226df3f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Update Title
run: |
sudo apt install imagemagick fonts-freefont-ttf
export TEXT_FONT=FreeSans-Bold
export TEXT_SIZE=96
export TEXT_COLOR=LightGray
export TEXT="v $(git describe --tags)"
mogrify -stroke Black -fill Black -draw "rectangle 1090,2300 1390,2400" -stroke ${TEXT_COLOR} -fill ${TEXT_COLOR} -font ${TEXT_FONT} -pointsize ${TEXT_SIZE} -gravity Center -draw "text 0,600 '${TEXT}'" figures/MMM_cover.jpg
- name: LaTeX pass 1
uses: xu-cheng/latex-action@v2
with:
Expand Down

0 comments on commit 226df3f

Please sign in to comment.