diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 79422d5..224cee9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -47,7 +47,7 @@ jobs: # generate changelog - name: generate changelog run: | - uv run towncrier build --version=steps.package-version.outputs.version --yes + uv run towncrier build --version=${{ steps.package-version.outputs.version }} --yes git config --global user.name "$GITHUB_ACTOR" git config --global user.email "$CI_COMMIT_EMAIL" git commit -a -m "create changelog for version ${{ steps.package-version.outputs.version }}" diff --git a/changelog.md b/changelog.md index 9ef3909..6935b49 100644 --- a/changelog.md +++ b/changelog.md @@ -13,12 +13,12 @@ Chnagelog entries are added through small files in the `chnagelog` folder. The ` -## CDIAC-ff_data steps.package-version.outputs.version (2026-04-23) +## CDIAC-ff_data v0.1.1 (2026-04-23) ### Bug Fixes - Improved release workflow to automatically delete old news files and save the current version of the changelog with the release. ([#7](https://github.com/primap-community/CDIAC-ff_data/pulls/7)) -- * Fixed github calls and config in release.yaml ([#8](https://github.com/primap-community/CDIAC-ff_data/pulls/8)) +- Fixed github calls and config in release.yaml ([#8](https://github.com/primap-community/CDIAC-ff_data/pulls/8)) ### Improved Documentation diff --git a/changelog/10.fix.md b/changelog/10.fix.md new file mode 100644 index 0000000..b97d264 --- /dev/null +++ b/changelog/10.fix.md @@ -0,0 +1 @@ +Fix passing version number to towncrier diff --git a/pyproject.toml b/pyproject.toml index 0dde01f..aab3e61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "cdiac_ff_data" -version = "0.1.3" +version = "0.1.2" description = "Download CDIAC fossil fuel related CO2 emissions data and convert to primap2 format" readme = "README.md" #license = "CC BY-NC-SA"