scripts
This commit is contained in:
parent
7dd4af2ef4
commit
8ea7d4995d
2 changed files with 11 additions and 11 deletions
15
script/release.old
Executable file
15
script/release.old
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
clojure -M:dev -m shadow.cljs.devtools.cli release main
|
||||
cp resources/public/index.html gh-pages
|
||||
sed -i 's/main.js/sci_script_tag.js/' gh-pages/index.html
|
||||
|
||||
mkdir -p gh-pages/js
|
||||
cp resources/public/js/main.js gh-pages/js/sci_script_tag.js
|
||||
|
||||
cd gh-pages
|
||||
git add .
|
||||
git commit -m "update build"
|
||||
git push origin gh-pages
|
||||
Loading…
Add table
Add a link
Reference in a new issue