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 26, 2023
1 parent 702d1a9 commit 20ef32b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ actions:
- "mv ../distro/mockbuild_test/stratisd.spec ../distro/stratisd.spec"
create-archive:
- "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'"
- "cargo install cargo-version-util"
- "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 20ef32b

Please sign in to comment.