Merge pull request #2618 from jlebon/pr/copr-fix

copr: mark git checkout as safe
This commit is contained in:
Luca Bruno 2022-05-27 06:37:54 +00:00 committed by GitHub
commit ed79299fc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,7 @@
srpm:
dnf install -y git
# similar to https://github.com/actions/checkout/issues/760, but for COPR
git config --global --add safe.directory '*'
ci/make-git-snapshot.sh
curl -LO https://src.fedoraproject.org/rpms/ostree/raw/rawhide/f/ostree.spec
sed -ie "s,^Version:.*,Version: $$(git describe --always --tags | sed -e 's,-,\.,g' -e 's,^v,,')," ostree.spec