mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Prepare v2.5.1 release (#266)
* preparations for v2.5.1: set correct copyright date, fix missing comments on userguide.tex * sets the version for CHANGELOG * comment in order to check the comments/headers beforehand * omits .codespellrc in final release tarball * fixes wrong paths for upload, investigation of failed push
This commit is contained in:
parent
5d817593fb
commit
8076b77366
50 changed files with 101 additions and 95 deletions
|
|
@ -1,5 +1,10 @@
|
|||
#!/bin/sh
|
||||
# script to create a tarball for the files that should be in the CTAN upload
|
||||
#
|
||||
# do not forget to replace comments/headers beforehand
|
||||
# 1. date and version in moderncv_userguide.tex
|
||||
# 2. find . -type f -exec sed -i 's/$OLD_DATE $OLD_VERSION/$NEW_DATE $NEW_VERSION/g' {} \;
|
||||
# 3. find . -type f -exec sed -i 's|-$OLD_YEAR moderncv maintainers (github.com/moderncv)|-$NEW_YEAR moderncv maintainers (github.com/moderncv)|g' {} \;
|
||||
|
||||
# fetch version via git
|
||||
VERSION=$(git describe --tags --dirty)
|
||||
|
|
@ -12,7 +17,7 @@ rm -f $TARBALL $TARBALL.gz
|
|||
git archive --prefix=moderncv/ HEAD > $TARBALL
|
||||
|
||||
# remove git specific files
|
||||
tar -f $TARBALL --delete moderncv/.github/ moderncv/.gitignore moderncv/create-release-tarball.sh
|
||||
tar -f $TARBALL --delete moderncv/.github/ moderncv/.gitignore moderncv/create-release-tarball.sh moderncv/.codespellrc
|
||||
|
||||
# compress
|
||||
gzip $TARBALL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue