Merge pull request 'build.sh aktualisiert' (#2) from Phil/AmogusSpecialSauce:main into main

Reviewed-on: amogus.tv/AmogusSpecialSauce#2
This commit is contained in:
Phil 2023-08-23 18:44:47 +02:00
commit 6ea288e83b

View file

@ -25,7 +25,6 @@ then
zip -9 dist/compiled-${DRONE_TAG}.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat zip -9 dist/compiled-${DRONE_TAG}.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat
elif [[ -n "${DRONE_COMMIT_SHA}" ]] elif [[ -n "${DRONE_COMMIT_SHA}" ]]
then then
COMMIT_SHA = ${DRONE_COMMIT_SHA:0:10}
echo "Making ready for Commit: ${DRONE_COMMIT_SHA:0:10}" echo "Making ready for Commit: ${DRONE_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-${DRONE_COMMIT_SHA:0:10}.zip compiled/csprogs.dat compiled/progs.dat compiled/menu.dat
else else