Skip to content

Commit

Permalink
Fix branch creation workflow when publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Julie Garrone committed Jun 20, 2023
1 parent f291fd9 commit 97ff20a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
run: |
search="releases/latest/download"
replace="releases/download/${{ github.event.release.tag_name }}"
sed -i "s|${search}|${replace}|" README.md
sed -i "s|${search}|${replace}|" contrib/validate-odm/README.md
- name: Setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: Commit
run: |
git add README.md
git commit -m "Update Download link with tagged asset url"
git add contrib/validate-odm/README.md
git commit -m "Update Download link with tagged asset url for validate-odm script"
git push origin refs/heads/${{ env.branch_name }}

0 comments on commit 97ff20a

Please sign in to comment.