Skip to content

Commit

Permalink
ci: Set custom release suffix 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. We can do this in Packit config instead of
bumping the release in the spec everytime.
  • Loading branch information
vojtechtrefny committed Nov 25, 2023
1 parent a88d362 commit cf92836
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ jobs:
targets:
- fedora-all
trigger: pull_request
release_suffix: 99.{current_time}.{sanitized_current_branch}{git_desc_suffix}

- job: copr_build
trigger: commit
owner: "@storage"
project: blivet-daily
branch: main
preserve_project: true
release_suffix: 99.{current_time}.{sanitized_current_branch}{git_desc_suffix}

- job: propose_downstream
trigger: release
Expand All @@ -43,3 +45,4 @@ srpm_build_deps:
- libappstream-glib

downstream_package_name: blivet-gui
release_suffix: null
2 changes: 1 addition & 1 deletion blivet-gui.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: Tool for data storage configuration
Name: blivet-gui
Version: 2.4.2
Release: 99%{?dist}
Release: 1%{?dist}
Source0: http://github.com/storaged-project/blivet-gui/releases/download/%{version}/%{name}-%{version}.tar.gz
Source1: blivet-gui_event.conf
License: GPL-2.0-or-later
Expand Down

0 comments on commit cf92836

Please sign in to comment.