Skip to content

Commit

Permalink
Update citation pkg version on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mikel-brostrom committed Jun 19, 2024
1 parent 0f90380 commit 72c00a7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ jobs:
git add boxmot/__init__.py
if: ${{ success() }}

- name: Update license file version and add
run: |
sed -i "s/version: .*/version: ${{ steps.get_version.outputs.new_version }}/" CITATION.cff
git add CITATION.cff
if: ${{ success() }}

- name: Commit and push updated version
run: |
git commit -m "${{ steps.get_version.outputs.commit_message }}"
Expand Down

0 comments on commit 72c00a7

Please sign in to comment.