Skip to content

Commit

Permalink
[build] Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Feb 19, 2022
1 parent e284dd3 commit 31bd512
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ jobs:
- name: Commit version
run: |
git add VERSION
sed -i -e "s/^\:project-version\:\ .*/:project-version: ${VERSION}/g" README.adoc
sed -i -e "s/^\:project-version\:\ .*/:project-version: ${{ needs.precheck.outputs.VERSION }}/g" README.adoc
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "GitHub Action"
git commit -a -m "Releasing version $VERSION"
git commit -a -m "Releasing version ${{ needs.precheck.outputs.VERSION }}"
git push origin main
- name: Release
Expand Down Expand Up @@ -299,9 +299,9 @@ jobs:
- name: Commit
run: |
VERSION=${{ needs.precheck.outputs.VERSION }}
echo $VERSION > VERSION
echo ${{ needs.precheck.outputs.VERSION }} > VERSION
git add VERSION
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "GitHub Action"
git commit -a -m "Releasing version $VERSION"
git commit -a -m "Releasing version ${{ needs.precheck.outputs.VERSION }}"
git push origin main

0 comments on commit 31bd512

Please sign in to comment.