mirror of
https://github.com/julia-actions/setup-julia.git
synced 2026-02-12 02:56:54 +08:00
14 lines
241 B
Bash
14 lines
241 B
Bash
#!/bin/sh
|
|
|
|
git checkout -b releases/"$1"
|
|
|
|
npm install
|
|
npm run build
|
|
npm test
|
|
npm prune --production
|
|
|
|
sed -i 's/node_modules/!node_modules/g' .gitignore
|
|
git add node_modules
|
|
git commit -a -m "Add production dependencies & build"
|
|
git tag "$1"
|