Skip to content

Commit

Permalink
Merge pull request coreos#1342 from bgilbert/fail
Browse files Browse the repository at this point in the history
copr: abort if specfile fetch fails
  • Loading branch information
bgilbert authored Apr 1, 2022
2 parents 03ea66c + 9fdb680 commit 919102e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .copr/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
srpm:
dnf install -y git
curl -LO https://src.fedoraproject.org/rpms/ignition/raw/rawhide/f/ignition.spec
curl -LOf https://src.fedoraproject.org/rpms/ignition/raw/rawhide/f/ignition.spec
version=$$(git describe --always --tags | sed -e 's,-,\.,g' -e 's,^v,,'); \
git archive --format=tar --prefix=ignition-$$version/ HEAD | gzip > ignition-$$version.tar.gz; \
sed -ie "s,^Version:.*,Version: $$version," ignition.spec
Expand Down

0 comments on commit 919102e

Please sign in to comment.