diff --git a/.packit.yaml b/.packit.yaml index f3487847d..5606ddc40 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -5,13 +5,10 @@ upstream_project_url: https://github.com/fedora-copr/copr.git actions: &common_actions create-archive: - - env - - bash -c 'sed -i s/version=.\*,/version=\"$PACKIT_PROJECT_VERSION\",/g setup.py' - bash -c "tito build --tgz --test -o ." - bash -c "ls -1t ./*.tar.gz | head -n 1" get-current-version: - - bash -c "git describe --match $PACKIT_CONFIG_PACKAGE_NAME-[0-9]* --abbrev=0 HEAD | egrep -o - [0-9]+\.[0-9]+" + - bash -c "grep -Po 'Version. +\K.*' *.spec" packages: