Skip to content

Commit

Permalink
Update new6.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tboenig committed Mar 27, 2024
1 parent 099eda2 commit e62b6a2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/new6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,14 @@ jobs:
sudo cp schema/OCR-D-GT-levelSchema.json out/schema/
- name: Get SDK Version from config
id: lookupSdkVersion
uses: mikefarah/yq@master
with:
cmd: |
yq eval 'append("coit\: ${{ github.ref_name }}\nversion\: ${{ github.run_number }}_${{ github.ref_name }}\ndate-released\: $(date +'%Y-%m-%d')\n")' CITATION.cff
- name: Add Lines to CITATION.cff
id: addLines
run: |
echo "commit\: ${{ github.ref_name }}" >> CITATION.cff
echo "version\: ${{ github.run_number }}_${{ github.ref_name }}" >> CITATION.cff
echo "date-released\: $(date +'%Y-%m-%d')" >> CITATION.cff
Expand Down

0 comments on commit e62b6a2

Please sign in to comment.