From 121b6e1dc9b774786022939dead715852af7be70 Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Wed, 14 Jul 2021 12:58:20 +0200 Subject: [PATCH] Bump up version --- CHANGELOG.md | 11 +++++++++++ README.md | 12 ++++++------ {{cookiecutter.paper_repo_name}}/.gitlab-ci.yml | 2 +- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c842f0e..836b4e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,15 @@ + +## 4.4.2 (2021-07-14) + +Improvements: + +* add gonitobestentry and eng commands +* detect all .tex sources +* improve gitignore +* fix locale when running Autozoil +* fix re-downloading NeurIPS files + ## 4.4.1 (2021-04-30) diff --git a/README.md b/README.md index 228877d..39d287d 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ The template itself is in the `{{cookiecutter.paper_id}}-paper`. In order to generate a project from the template: * install cookiecutter -* find a paper-cutter tag applicable (usually the latest tag listed at ), say VERSION -* run: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout VERSION` +* find a paper-cutter tag applicable (usually the latest tag listed at ), say 4.4.2 +* run: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 4.4.2` You will be asked to choose a LaTeX template, at the moment the following templates are handled: @@ -53,7 +53,7 @@ git remote set-url origin YOUR-GIT-REPO password: `git config credential.helper "cache --timeout=10000000"` 8. Unfortunately, Overleaf will discard hidden files (`.*`) when a zip is uploaded, also file permissions will be somewhat broken -9. … so you need to copy `.cookiecutter.yml` file and re-apply the template (`cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout VERSION --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists`) +9. … so you need to copy `.cookiecutter.yml` file and re-apply the template (`cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 4.4.2 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists`) 10. Re-commit the files (including recovered `.*` files). 11. Push the repo to Overleaf (fortunately, the `.*` will be treated correctly when this is done by git): `git push overleaf master` @@ -67,10 +67,10 @@ Updating package with updated template To keep your codebase in sync with template you need to occasionally reapply the template. Here's how: -* find a paper-cutter tag applicable, say VERSION +* find a paper-cutter tag applicable, say 4.4.2 * (do *not* refer to master in your projects!) * go to project root -* run: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout VERSION --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists` +* run: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 4.4.2 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists` * check changes with git Editing the files @@ -93,7 +93,7 @@ Switching to another conference or journal template is easy. If not, get in touch with Filip Graliński. 2. Commit or stash any uncommitted changes. 3. Change the `latex_template` value accordingly in the `.cookiecutter.yml` file. Commit the changes. -4. Re-run the template (as if updating, see above: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout VERSION --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists`). +4. Re-run the template (as if updating, see above: `cookiecutter https://git.wmi.amu.edu.pl/filipg/paper-cutter.git --checkout 4.4.2 --output-dir .. --config-file .cookiecutter.yml --no-input --overwrite-if-exists`). 5. Compare `metadata.tex` against the right metadata template file (`*/*-template-meta.tex` in `_latex-templates/`) and make any fixes needed. This is the only thing that needs to be done manually diff --git a/{{cookiecutter.paper_repo_name}}/.gitlab-ci.yml b/{{cookiecutter.paper_repo_name}}/.gitlab-ci.yml index 9c1d6a3..af01f16 100644 --- a/{{cookiecutter.paper_repo_name}}/.gitlab-ci.yml +++ b/{{cookiecutter.paper_repo_name}}/.gitlab-ci.yml @@ -6,5 +6,5 @@ variables: # THIS IS AN UGLY WORK-AROUND include: - project: 'research/paper-cutter' - ref: '4.4.1' + ref: '4.4.2' file: 'main.yml'