Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DrRobsAT committed Jul 4, 2024
1 parent 9eb740e commit b780b28
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test-update-cff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ jobs:
uses: actions/checkout@v4
- name: Get current date
id: date
run: echo "RELEASE_DATE=& Get-Date -format yyyy-MM-dd" >> $GITHUB_ENV
run: |
echo "RELEASE_DATE=& Get-Date -format yyyy-MM-dd" >> $GITHUB_ENV
echo "the release date is ${RELEASE_DATE}"
- name: edit version number
uses: fjogeleit/yaml-update-action@main
with:
Expand All @@ -25,6 +27,6 @@ jobs:
message: 'updated CITATION.cff'
changes: |
{
"version": "1.0.5",
"version": "1.0.6",
"date-released": "${RELEASE_DATE}"
}

0 comments on commit b780b28

Please sign in to comment.