Skip to content

Commit

Permalink
Merge pull request #14 from cacoco/cacoco/Checkoutmain
Browse files Browse the repository at this point in the history
[release] checkout main before updating codemeta.json version
  • Loading branch information
cacoco authored Feb 5, 2024
2 parents b778582 + 7a958a1 commit 086a04c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- name: Update codemeta.json version
if: ${{ success() }}
run: |
git checkout main
echo "`jq '.version="${{ github.ref_name }}"' codemeta.json`" > codemeta.json
git commit -am "Update codemeta.json version"
git push origin main

0 comments on commit 086a04c

Please sign in to comment.