File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1212jobs :
1313 build :
1414 runs-on : ubuntu-latest
15+ env :
16+ VERSION : ${{ github.events.input.tag }}
1517 permissions :
1618 contents : write
1719 steps :
1820 - uses : actions/checkout@v3
1921 - name : Build the template zip
2022 run : |
21- sed '2s/^/VERSION=${{ github.events.input.tag }} \n/' core.sh
23+ sed -i '2s/^/VERSION='$VERSION' \n/' core.sh
2224 mkdir -p template
2325 mv examples/template/* template/ || echo ok
2426 mv examples/template/.gitignore template/ || echo ok
25- cp -f core.sh template/.
26- cp -f start.sh template/.
27+ unlink template/core.sh
28+ unlink template/start.sh
29+ cp core.sh template/.
30+ cp start.sh template/.
2731 zip -r template.zip template/*
2832
2933 # same thing for tailwind template
3034 mkdir -p tailwind
3135 mv examples/tailwind/* tailwind/ || echo ok
3236 mv examples/tailwind/.gitignore tailwind/ || echo ok
33- cp -f core.sh tailwind/.
34- cp -f start.sh tailwind/.
37+ unlink tailwind/core.sh
38+ unlink tailwind/start.sh
39+ cp core.sh tailwind/.
40+ cp start.sh tailwind/.
3541 zip -r template-tailwind.zip tailwind/*
3642 - uses : ncipollo/release-action@v1
3743 with :
You can’t perform that action at this time.
0 commit comments