Skip to content

Commit

Permalink
ci: Set custom release number for Packit
Browse files Browse the repository at this point in the history
We want a high release number (99) for the daily builds done by
Packit to make sure the Copr daily builds are always newer than
the version in Fedora.
  • Loading branch information
vojtechtrefny committed May 14, 2024
1 parent 435b7f4 commit 8bd89bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
actions:
post-upstream-clone:
- 'bash -c "sed -i -r \"s/Release:(\s*)\S+/Release: 99%{?dist}/\" dist/libbytesize.spec.in"'
- 'cp dist/libbytesize.spec.in dist/libbytesize.spec'
- 'sed -i -e "s/@WITH_PYTHON3@/1/g" -e "s/@WITH_GTK_DOC@/1/g" -e "s/@WITH_TOOLS@/1/g" dist/libbytesize.spec'
create-archive:
Expand Down

0 comments on commit 8bd89bd

Please sign in to comment.