Skip to content

Commit

Permalink
create all packs zip
Browse files Browse the repository at this point in the history
  • Loading branch information
jamie-mh committed Oct 11, 2024
1 parent acbb158 commit 361f485
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,24 @@ jobs:
python3 $builder
done
- name: Rename packs
- name: Rename packs and create zip
run: |
CURRENT_DATE=$(date +'%Y-%m-%d')
echo "CURRENT_DATE=$CURRENT_DATE" >> $GITHUB_ENV
for pack in *.iconpack; do
mv $pack $(echo $pack | sed "s|\.iconpack|-$CURRENT_DATE.iconpack|g")
done
echo "CURRENT_DATE=$CURRENT_DATE" >> $GITHUB_ENV
zip "_all-$CURRENT_DATE.zip" *.iconpack
- name: Create release
uses: softprops/action-gh-release@v2
with:
name: "Release ${{ env.CURRENT_DATE }}"
tag_name: "${{ env.CURRENT_DATE }}"
files: "*.iconpack"
files: |
*.iconpack
_all-${{ env.CURRENT_DATE }}.zip
token: "${{ secrets.TOKEN }}"
make_latest: true

0 comments on commit 361f485

Please sign in to comment.