Skip to content

Commit

Permalink
Update update-version.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Knerio authored May 31, 2024
1 parent 2e8763a commit 88b4b79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
uses: actions/checkout@v4
with:
repository: ${{github.repository}}.wiki
path: markdown
path: .

- name: Get Release Tag Name
id: get_tag_name
run: echo "RELEASE_TAG=${{ github.event.release.tag_name }}" >> $GITHUB_ENV

- name: Update README.md
- name: Update installation.md in wiki
run: |
find . -maxdepth 2 -type d
LATEST_VERSION=${{ env.RELEASE_TAG }}
Expand All @@ -38,6 +38,6 @@ jobs:
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git checkout -b update-readme-with-latest-version
git add README.md
git commit -m "Update README with latest version ${{ env.RELEASE_TAG }}"
git add installation.md
git commit -m "Update installation wiki file with latest version ${{ env.RELEASE_TAG }}"
git push --force origin update-readme-with-latest-version:main

0 comments on commit 88b4b79

Please sign in to comment.