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

copr: mark git checkout as safe
This commit is contained in:
Luca Bruno authored and GitHub committed 2022-05-27 06:37:54 +00:00
commit ed79299fc3
1 file changed
+2
+2
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