Skip to content

1.0.9

1.0.9 #17

Workflow file for this run

name: Update CITATION.cff
on:
release:
types: [published]
jobs:
update-citation:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
- name: Update version in CITATION.cff
run: |
VERSION=${{ github.event.release.tag_name }}
sed -i "s/^version:.*/version: ${VERSION}/" CITATION.cff
- name: Commit changes
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add CITATION.cff
git commit -m "Update CITATION.cff to version ${VERSION}"
git push