Merge branch 'fix-commit-hash-check' into pu

This commit is contained in:
Kevin Morris 2021-10-30 00:06:28 -07:00
commit a38e126f49
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -11,7 +11,7 @@ sed -ri "s;^(aur_location) = .+;\1 = ${AURWEB_FASTAPI_PREFIX};" conf/config
sed -ri 's/^(cache) = .+/\1 = redis/' conf/config
sed -ri 's|^(redis_address) = .+|\1 = redis://redis|' conf/config
if [ "$COMMIT_HASH" ]; then
if [ ! -z ${COMMIT_HASH+x} ]; then
sed -ri "s/^;?(commit_hash) =.*$/\1 = $COMMIT_HASH/" conf/config
fi