Skip to content

Commit

Permalink
Do not specify the version to create_archive.py
Browse files Browse the repository at this point in the history
Instead, allow create_archive.py to read the version from the package.

Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Oct 31, 2023
1 parent 0bf66f4 commit 313ddd9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ actions:
post-upstream-clone:
- "git clone https://github.com/stratis-storage/ci --depth=1 ../distro"
- "mv ../distro/mockbuild_test/stratisd.spec ../distro/stratisd.spec"
create-archive:
- "cargo install cargo-version-util"
- "cargo install cargo-vendor-filterer"
- "sh -c 'python3 ../distro/release_management/create_artifacts.py ../distro/ --pre-release --specfile-path=../distro/stratisd.spec stratisd $(rpmspec -q --srpm --qf %{Version} ../distro/stratisd.spec) --vendor-method=filtered'"
create-archive:
- "sh -c 'python3 ../distro/release_management/create_artifacts.py ../distro/ --pre-release --specfile-path=../distro/stratisd.spec stratisd --vendor-method=filtered'"
fix-spec-file:
- "echo 'skipping automatic fix-spec-file actions'"
get-current-version:
# TODO: Figure out a way to get this info via cargo
- "rpmspec -q --srpm --qf %{Version}\n ../distro/stratisd.spec"
- "cargo version-util get-version"

srpm_build_deps:
- git
Expand Down

0 comments on commit 313ddd9

Please sign in to comment.