Skip to content

Commit

Permalink
CI: Try fixing the revision count
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendricks266 authored Aug 1, 2023
1 parent a8b8850 commit fbf5b84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install 7zip
git fetch --unshallow
cd upload/
ls -R
for i in */ ; do cd "$i" ; cp -a ../../template/* ./ ; for j in */ ; do cd "$j" ; 7zz a -mx9 -ms=on -t7z -m0=lzma2 -mmt2 "../../${j%/}_${i%/}_$(date +%Y%m%d)-$(git rev-list --count HEAD).7z" * ; cd .. ; done ; cd .. ; done
for i in */ ; do cd "$i" ; cp -a ../../template/* ./ ; for j in */ ; do cd "$j" ; 7zz a -mx9 -ms=on -t7z -m0=lzma2 -mmt2 "../../${j%/}_${i%/}_$(date +%Y%m%d)-r$(git rev-list --count HEAD).7z" * ; cd .. ; done ; cd .. ; done
- name: Publish
uses: "marvinpinto/action-automatic-releases@latest"
Expand Down

0 comments on commit fbf5b84

Please sign in to comment.