Added Build Script
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
target/
|
||||||
12
build.sh
Executable file
12
build.sh
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
VERSION=$(cat version.txt | tr -d '\n')
|
||||||
|
PREVIEW_VERSION="${VERSION}-preview"
|
||||||
|
|
||||||
|
echo "Removing Target Folder"
|
||||||
|
rm -rf target/
|
||||||
|
echo "Creating Pack..."
|
||||||
|
mkdir target
|
||||||
|
cd pack
|
||||||
|
zip -r ../target/CheapDesign-${PREVIEW_VERSION}.zip .
|
||||||
|
cd ..
|
||||||
|
cp target/CheapDesign-${PREVIEW_VERSION}.zip target/CheapMC-${PREVIEW_VERSION}.zip
|
||||||
Reference in New Issue
Block a user