mirror of
https://github.com/TangentFoxy/LovePackaging.git
synced 2024-11-26 10:44:21 +00:00
fixed #27 (latest builds folder)
This commit is contained in:
parent
1eed64c421
commit
832eef9bea
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
!builds/
|
!builds/
|
||||||
builds/*
|
builds/*
|
||||||
|
!builds/latest/
|
||||||
!builds/build.number
|
!builds/build.number
|
||||||
tmp/
|
tmp/
|
||||||
|
9
build
9
build
@ -181,6 +181,15 @@ if [ "$(ls -A $includes)" ]; then
|
|||||||
fi
|
fi
|
||||||
echo " Done."
|
echo " Done."
|
||||||
|
|
||||||
|
if [ $latestBuilds = true ]; then
|
||||||
|
mkdir -p "$latestBuildsDir"
|
||||||
|
rm -f "$latestBuildsDir/*"
|
||||||
|
cp "$outputDir/$packageName-${version}_win32.zip" "$latestBuildsDir"
|
||||||
|
cp "$outputDir/$packageName-${version}_win64.zip" "$latestBuildsDir"
|
||||||
|
cp "$outputDir/$packageName-${version}_osx.zip" "$latestBuildsDir"
|
||||||
|
cp "$outputDir/$packageName-${version}_linux.zip" "$latestBuildsDir"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Builds complete. Unless there are errors above. Double check your files."
|
echo "Builds complete. Unless there are errors above. Double check your files."
|
||||||
echo
|
echo
|
||||||
if which fortune > /dev/null 2>&1; then fortune; fi
|
if which fortune > /dev/null 2>&1; then fortune; fi
|
||||||
|
@ -53,6 +53,11 @@ allowOverwrite=false
|
|||||||
# (To do this, a build.number file is stored in $outputDir, so watch out for that.)
|
# (To do this, a build.number file is stored in $outputDir, so watch out for that.)
|
||||||
autoNumberBuilds=false
|
autoNumberBuilds=false
|
||||||
|
|
||||||
|
# Place latest builds in builds/latest?
|
||||||
|
# (This is a copy, not a move.)
|
||||||
|
latestBuilds=false
|
||||||
|
latestBuildsDir="$outputDir/latest"
|
||||||
|
|
||||||
# Use curl or wget?
|
# Use curl or wget?
|
||||||
# (One of these lines should be commented out, the other not)
|
# (One of these lines should be commented out, the other not)
|
||||||
#download="curl -o"
|
#download="curl -o"
|
||||||
|
Loading…
Reference in New Issue
Block a user