Skip to content

Commit

Permalink
Update build_and_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
goldstar611 authored May 16, 2023
1 parent 8f8b4e6 commit 2828b50
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
artifacts=Chirp-*.AppImage
tag=$(date +%Y%m%d)
git log -5 > last_5_commits.txt
(cd chirp; git log -5 > ../last_5_commits.txt)
gh release create --latest ${tag} -F last_5_commits.txt ${artifacts}
if(!($?)) {
# gh release create failed, try gh release upload instead
gh release upload --clobber ${tag} ${artifacts}
}
#if(!($?)) {
# # gh release create failed, try gh release upload instead
# gh release upload --clobber ${tag} ${artifacts}
#}

0 comments on commit 2828b50

Please sign in to comment.