Skip to content

Commit

Permalink
Fix release workflow diff
Browse files Browse the repository at this point in the history
  • Loading branch information
huxingyi committed Feb 25, 2023
1 parent ed7fd00 commit e53c9bf
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,12 @@ jobs:
git clone https://${{ secrets.GITHUB_TOKEN }}@github.com/huxingyi/huxingyi.github.io.git
cd huxingyi.github.io
cp ../Dust3D-win32-x86_64.zip download/dust3d-latest-preview.zip
if git diff --name-only HEAD | grep -q "download/dust3d-latest-preview.zip"; then
git config --global user.email ""
git config --global user.name "bot"
git add download/dust3d-latest-preview.zip
timestamp=$(TZ=":Australia/Sydney" date)
git commit -m "Update latest windows build at ${timestamp}"
git push origin HEAD
fi
git config --global user.email ""
git config --global user.name "bot"
git add download/dust3d-latest-preview.zip
timestamp=$(TZ=":Australia/Sydney" date)
git commit -m "Update latest windows build at ${timestamp}"
git push origin HEAD
cd ../
shell: bash
- name: Upload zip
Expand Down

0 comments on commit e53c9bf

Please sign in to comment.