Skip to content

Commit

Permalink
Debug release action
Browse files Browse the repository at this point in the history
  • Loading branch information
JeltevanBoheemen committed Jun 18, 2024
1 parent ab174a4 commit 2ae095b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ jobs:
- name: Autoformat CITATION.cff
run: |
version=`grep -o '\d\+\.\d\+\.\d\+' package.json`
echo $version
today=`date +"%Y-%m-%d"`
echo $today
sed -i "s/^version: [[:digit:]]\{1,\}\.[[:digit:]]\{1,\}\.[[:digit:]]\{1,\}/version: $version/" CITATION.cff
sed -i "s/[[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}/$today/" CITATION.cff
bash ./update-citation.sh
git commit -a -m "update version and date in CITATION.cff"

0 comments on commit 2ae095b

Please sign in to comment.