Changed/Added Pipeline #2
1 changed files with 5 additions and 5 deletions
10
build.sh
10
build.sh
|
@ -19,14 +19,14 @@ mkdir -vp $(dirname "$0")/compiled
|
||||||
mv -v *.dat $(dirname "$0")/compiled
|
mv -v *.dat $(dirname "$0")/compiled
|
||||||
rm *.lno
|
rm *.lno
|
||||||
mkdir dist
|
mkdir dist
|
||||||
if [[ -n "${DRONE_TAG}" ]]
|
if [[ -n "${CI_COMMIT_TAG}" ]]
|
||||||
then
|
then
|
||||||
echo "Making ready for Tag: ${DRONE_TAG}"
|
echo "Making ready for Tag: ${CI_COMMIT_TAG}"
|
||||||
zip -9 dist/compiled-${DRONE_TAG}.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat
|
zip -9 dist/compiled-${CI_COMMIT_TAG}.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat
|
||||||
elif [[ -n "${DRONE_COMMIT_SHA}" ]]
|
elif [[ -n "${DRONE_COMMIT_SHA}" ]]
|
||||||
then
|
then
|
||||||
echo "Making ready for Commit: ${DRONE_COMMIT_SHA:0:10}"
|
echo "Making ready for Commit: ${CI_COMMIT_SHA:0:10}"
|
||||||
zip -9 dist/compiled-${DRONE_COMMIT_SHA:0:10}.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat
|
zip -9 dist/compiled-${CI_COMMIT_SHA:0:10}.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat
|
||||||
else
|
else
|
||||||
zip -9 dist/compiled.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat
|
zip -9 dist/compiled.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat
|
||||||
fi
|
fi
|
Loading…
Reference in a new issue