Skip to content

Commit

Permalink
ci: Add custom function to get version for Packit builds
Browse files Browse the repository at this point in the history
Default for packit is the latest tag, but we want to use the
"next" version we already have set.
  • Loading branch information
vojtechtrefny committed Aug 10, 2023
1 parent a82b301 commit 6d2206c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .packit.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
actions:
create-archive:
post-upstream-clone:
- './autogen.sh --disable-modules --disable-daemon'
create-archive:
# FIXME: just calling `make dist` doesn't build udisks/libudisks2.la for gtk-doc
- 'make'
- 'make dist'
- 'bash -c "ls *.tar*"'
get-current-version:
- 'bash -c "./configure --version | head -n1 | cut -f3 -d\" \""'

jobs:
- job: copr_build
Expand Down

0 comments on commit 6d2206c

Please sign in to comment.