Skip to content

Commit 89588d9

Browse files
committed
bash is good i dont hate it at all sometimes ever
1 parent 39f47e7 commit 89588d9

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,21 @@ jobs:
2828
unlink template/start.sh
2929
cp core.sh template/.
3030
cp start.sh template/.
31-
zip -r template.zip template/*
31+
cd template/
32+
zip -r ../template.zip *
3233
34+
cd ..
35+
rm -rf template/
3336
# same thing for tailwind template
34-
mkdir -p tailwind
35-
mv examples/tailwind/* tailwind/ || echo ok
36-
mv examples/tailwind/.gitignore tailwind/ || echo ok
37-
unlink tailwind/core.sh
38-
unlink tailwind/start.sh
39-
cp core.sh tailwind/.
40-
cp start.sh tailwind/.
41-
zip -r template-tailwind.zip tailwind/*
37+
mkdir -p template
38+
mv examples/tailwind/* template/ || echo ok
39+
mv examples/tailwind/.gitignore template/ || echo ok
40+
unlink template/core.sh
41+
unlink template/start.sh
42+
cp core.sh template/.
43+
cp start.sh template/.
44+
cd template/
45+
zip -r ../template-tailwind.zip *
4246
- uses: ncipollo/release-action@v1
4347
with:
4448
artifacts: "template.zip,template-tailwind.zip"

0 commit comments

Comments
 (0)