Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markifnotmaster: New functionality to watermark if not working on release/publish/master-branch. #22

Open
wants to merge 8 commits into
base: CTAN
Choose a base branch
from

Conversation

obma
Copy link

@obma obma commented Jul 31, 2016

New package options:

  • markifnotmaster: bool to enable watermarking if not on release-branch
  • master: string (default: master); name of the release-branch

Example:
\usepackage[markifnotmaster,master=publish]{gitinfo2}

Brent Longborough and others added 8 commits November 22, 2015 09:53
New package options:
- markifnotmaster: bool to enable watermarking if not on release-branch
- master: string (default: master); name of the release-branch
Example:
\usepackage[markifnotmaster,master=publish]{gitinfo2}
Added parameter -c to set the name of the current branch. If set to CI_BUILD_REF_NAME the environment variable CI_BUILD_REF_NAME, wich is available in GitLab CI, is used to determine the name of the current branch.
Place this file in your project root named .latexmkrc or latexmkrc and use latexmk to compile. The parameter "-c CI_BUILD_REF_NAME" is only needed, if you want to enable use of gitinfo2 in gitlab automatic builds.
Having this file (named .gitlab-ci.yml) in your GitLab repository will automatically compile your project after every push and save the pdf. Adopt main.tex and main.pdf to your project.
@josephwright
Copy link

This repository is no longer active: please re-report issues at https://github.com/josephwright/gitinfo2/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants