will it work?
perhaps not
This commit is contained in:
parent
f244e0f003
commit
726d22f096
1 changed files with 6 additions and 3 deletions
|
@ -2,9 +2,12 @@ y=$(date +%y)
|
||||||
read -p "Sneedium4Mac # of year $y (1,2,3,4...):" v
|
read -p "Sneedium4Mac # of year $y (1,2,3,4...):" v
|
||||||
npm run make-mac
|
npm run make-mac
|
||||||
mkdir "Sneedium $y.$v"
|
mkdir "Sneedium $y.$v"
|
||||||
mv sneedium-darwin-arm64 "Sneedium4Mac $y.$v"
|
cp -r sneedium-darwin-arm64 "Sneedium4Mac $y.$v"
|
||||||
mv sneedium-darwin-x64 "Sneedium4Mac $y.$v"
|
cp -r sneedium-darwin-x64 "Sneedium4Mac $y.$v"
|
||||||
|
rm -rf "Sneedium4Mac $y.$v/sneedium-darwin-arm64"
|
||||||
|
rm -rf "Sneedium4Mac $y.$v/sneedium-darwin-x64"
|
||||||
tar -czvf "Sneedium4Mac $y.$v.tar.gz" "Sneedium4Mac $y.$v"
|
tar -czvf "Sneedium4Mac $y.$v.tar.gz" "Sneedium4Mac $y.$v"
|
||||||
rm -rf "Sneedium4Mac $y.$v"
|
rm -rf "Sneedium4Mac $y.$v"
|
||||||
mkdir ~/sneedium-mac-bins
|
mkdir ~/sneedium-mac-bins
|
||||||
mv "Sneedium $y.$v.tar.gz" ~/sneedium-mac-bins
|
cp "Sneedium $y.$v.tar.gz" "~/sneedium-mac-bins"
|
||||||
|
rm "Sneedium $y.$v.tar.gz"
|
||||||
|
|
Loading…
Reference in a new issue