Merge pull request #2618 from jlebon/pr/copr-fix
copr: mark git checkout as safe
This commit is contained in:
commit
ed79299fc3
|
|
@ -1,5 +1,7 @@
|
||||||
srpm:
|
srpm:
|
||||||
dnf install -y git
|
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
|
ci/make-git-snapshot.sh
|
||||||
curl -LO https://src.fedoraproject.org/rpms/ostree/raw/rawhide/f/ostree.spec
|
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
|
sed -ie "s,^Version:.*,Version: $$(git describe --always --tags | sed -e 's,-,\.,g' -e 's,^v,,')," ostree.spec
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue