Skip to content

Commit

Permalink
add release in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
geyang committed Aug 14, 2019
1 parent 07c5cd9 commit 0f7f6cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -19,6 +19,9 @@ convert-rst:
# sed -E -i '' 's/\.(jpg|png)/.\1?raw=true/g' README
perl -p -i -e 's/\.(jpg|png)/_resized.$$1?raw=true\n :width: 355px\n :height: 266px\n :scale: 50%/' README
rst-lint README
release:
git tag v$(VERSION) -m '$(msg)'
git push origin --tags
resize:
# from https://stackoverflow.com/a/28221795/1560241
echo ./figures/!(*resized).jpg
Expand Down

0 comments on commit 0f7f6cf

Please sign in to comment.