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:
daniel 2026-01-31 13:06:35 +01:00 committed by GitHub
commit 8076b77366
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
50 changed files with 101 additions and 95 deletions

View file

@ -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