Skip to content

Commit

Permalink
added release date
Browse files Browse the repository at this point in the history
  • Loading branch information
DrRobsAT committed Jul 4, 2024
1 parent 65a5139 commit 2bece94
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test-update-cff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ jobs:
name: Update version number
runs-on: ubuntu-latest
steps:
- name: checkout code
- name: Checkout code
uses: actions/checkout@v4
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: edit version number
uses: fjogeleit/yaml-update-action@main
with:
Expand All @@ -22,5 +25,6 @@ jobs:
message: 'updated CITATION.cff'
changes: |
{
"version": "1.0.5"
"version": "1.0.5",
"date-released": "${{ steps.date.outputs.date }}"
}

0 comments on commit 2bece94

Please sign in to comment.