Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ search = **unreleased**
replace = **unreleased**
**v{new_version}**

[bumpversion:file:CITATION.cff]
search = version: {current_version}
replace = version: {new_version}

[bumpversion:part:release]
optional_value = gamma
values =
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/cffconvert.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: cffconvert

on:
push:
paths:
- CITATION.cff

permissions:
contents: read

jobs:
validation:
name: validate
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
with:
persist-credentials: false

- name: cffconvert
uses: citation-file-format/cffconvert-github-action@4cf11baa70a673bfdf9dad0acc7ee33b3f4b6084
with:
args: "--validate"
19 changes: 19 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Parser information.
cff-version: 1.2.0
message: Please cite this software using these meta data.

# Version information.
date-released: 2020-10-07
version: 1.0.2-dev

# Project information.
abstract: Version-bump your software with a single command!
authors:
- alias: c4urself
family-names: Verkerk
given-names: Christian
- name: The bump2version Community
license: MIT
repository-code: https://github.com/c4urself/bump2version
title: bump2version
url: https://pypi.python.org/pypi/bump2version