8 lines
247 B
Bash
Executable file
8 lines
247 B
Bash
Executable file
y=$(date +%Y)
|
|
read -p "Sneedium # of year $y (1,2,3,4...):" v
|
|
npm run make
|
|
mkdir "Sneedium $y.$v"
|
|
mv sneedium-linux-* "Sneedium $y.$v"
|
|
mv sneedium-win32-* "Sneedium $y.$v"
|
|
tar -czvf "Sneedium $y.$v.tar.gz" "Sneedium $y.$v"
|
|
rm -rf "Sneedium $y.$v"
|