Skip to content

Commit

Permalink
bash is good i dont hate it at all sometimes ever
Browse files Browse the repository at this point in the history
  • Loading branch information
cgsdev0 committed Aug 19, 2023
1 parent 39f47e7 commit 89588d9
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,21 @@ jobs:
unlink template/start.sh
cp core.sh template/.
cp start.sh template/.
zip -r template.zip template/*
cd template/
zip -r ../template.zip *
cd ..
rm -rf template/
# same thing for tailwind template
mkdir -p tailwind
mv examples/tailwind/* tailwind/ || echo ok
mv examples/tailwind/.gitignore tailwind/ || echo ok
unlink tailwind/core.sh
unlink tailwind/start.sh
cp core.sh tailwind/.
cp start.sh tailwind/.
zip -r template-tailwind.zip tailwind/*
mkdir -p template
mv examples/tailwind/* template/ || echo ok
mv examples/tailwind/.gitignore template/ || echo ok
unlink template/core.sh
unlink template/start.sh
cp core.sh template/.
cp start.sh template/.
cd template/
zip -r ../template-tailwind.zip *
- uses: ncipollo/release-action@v1
with:
artifacts: "template.zip,template-tailwind.zip"
Expand Down

0 comments on commit 89588d9

Please sign in to comment.