Skip to content

Commit

Permalink
Updated version which was not updated in previous commit. Updated REA…
Browse files Browse the repository at this point in the history
…DME.md which was not updated in last commit.
  • Loading branch information
willynilly committed Apr 1, 2024
1 parent 9c2ae85 commit f1f2f90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ update_pyproject_toml_with_citation_cff()

```python
from cff2toml import update_pyproject_toml_with_citation_cff
import os

# update pyproject.toml with metadata
# from CITATION.cff
Expand All @@ -57,6 +58,7 @@ update_citation_cff_with_pyproject_toml()

```python
from cff2toml import update_pyproject_toml_with_citation_cff
import os

# update CITATION.cff with metadata
# from pyprojects.cff
Expand All @@ -70,16 +72,17 @@ update_citation_cff_with_pyproject_toml(citation_cff_file_path=citation_cff_file
### Setting the same version for both the pyprojects.toml file and CITATION.cff file

```python
from cff2toml import set_version_for_pyproject_toml_with_citation_cff
from cff2toml import set_version_for_pyproject_toml_and_citation_cff

# set same version for pyproject.toml
# and CITATION.cff where both files are
# located in the working directory
set_version_for_pyproject_toml_with_citation_cff(version="2.0.0")
set_version_for_pyproject_toml_and_citation_cff(version="2.0.0")
```

```python
from cff2toml import update_pyproject_toml_with_citation_cff
import os

# set same version for pyproject.toml
# and CITATION.cff where both files
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "cff2toml"
version = "1.0.1"
version = "1.1.0"
description = "A module to synchronize metadata between TOML and CFF files, including between pyproject.toml and CITATION.cff files."
readme = "README.md"
requires-python = ">=3.8"
Expand Down

0 comments on commit f1f2f90

Please sign in to comment.