From 4e7c63ce52406076c31a42331e26a330bb2ec7b9 Mon Sep 17 00:00:00 2001 From: Martin Sehnoutka Date: Tue, 22 Jun 2021 13:47:24 +0200 Subject: [PATCH] packit: use custom command to get the current version --- .packit.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.packit.yaml b/.packit.yaml index 58b94376..bdffdf32 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -9,6 +9,9 @@ synced_files: upstream_package_name: osbuild downstream_package_name: osbuild +actions: + get-current-version: bash -c "git describe --tags --abbrev=0 | sed 's|v||'" + jobs: - job: copr_build trigger: pull_request