Compare commits

..

2 commits

Author SHA1 Message Date
askiiart
b37191657c
add error handling in case this is the first run
All checks were successful
continuous-integration/drone Build is passing
2025-03-06 13:52:39 -06:00
askiiart
2303f9905b
disable debug 2025-03-06 13:47:35 -06:00

4
run.sh
View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -euxo pipefail
set -euo pipefail
built_dir=${COMPILED_DIR:-/compiled}/cavif
version=$(cat $built_dir/version)
@ -37,7 +37,7 @@ cd $repo_dir
# (which only happens on first run)
touch cavif-0.rpm
rm $(ls cavif-*.rpm | sort --version-sort | sed '$d')
rm cavif-0.rpm
rm cavif-0.rpm || true
# update repo
createrepo_c .