forked from cf-convention/cf-conventions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathversion.adoc
More file actions
25 lines (23 loc) · 727 Bytes
/
version.adoc
File metadata and controls
25 lines (23 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Set version
:version: 1.13
////
Normally, a draft is produced, unless the `final` attribute is defined.
Define the `final` attribute by uncommenting the following line
or with the commandline switch `-a final`.
////
// :final:
ifdef::final[]
// Change the DOI prior to releasing the next version
:doi: 10.5281/zenodo.14275599
// No changes needed beyond this line
:current-version: {version}
:current-version-as-attribute: {version}
:doi-text: DOI: link:https://doi.org/{doi}[{doi}]
endif::[]
ifndef::final[]
:current-version: {version} draft
:current-version-as-attribute: {version}-draft
:doi: 10.5281/zenodo.FFFFFF
:doi-text: has no DOI yet: link:https://doi.org/{doi}[{doi}]
endif::[]
:doi-link: https://doi.org/{doi}