Compare commits
2 commits
23ab1b4c69
...
b37191657c
Author | SHA1 | Date | |
---|---|---|---|
|
b37191657c | ||
|
2303f9905b |
1 changed files with 2 additions and 2 deletions
4
run.sh
4
run.sh
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euxo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
built_dir=${COMPILED_DIR:-/compiled}/cavif
|
built_dir=${COMPILED_DIR:-/compiled}/cavif
|
||||||
version=$(cat $built_dir/version)
|
version=$(cat $built_dir/version)
|
||||||
|
@ -37,7 +37,7 @@ cd $repo_dir
|
||||||
# (which only happens on first run)
|
# (which only happens on first run)
|
||||||
touch cavif-0.rpm
|
touch cavif-0.rpm
|
||||||
rm $(ls cavif-*.rpm | sort --version-sort | sed '$d')
|
rm $(ls cavif-*.rpm | sort --version-sort | sed '$d')
|
||||||
rm cavif-0.rpm
|
rm cavif-0.rpm || true
|
||||||
|
|
||||||
# update repo
|
# update repo
|
||||||
createrepo_c .
|
createrepo_c .
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue