Skip to content

Commit 6bf7ec4

Browse files
committed
packit: fix built NVRs to use similar pattern to tito --test
Relates: #1573
1 parent a03ab4d commit 6bf7ec4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.packit.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ actions:
1212
- bash -c "tito build --tgz --test -o ."
1313
- bash -c "ls -1t ./*.tar.gz | head -n 1"
1414
get-current-version:
15-
- bash -c "grep ^Version \"$PACKIT_CONFIG_PACKAGE_NAME.spec\" | awk '{ print $2 }'"
15+
# we should use Tito for this: https://github.com/rpm-software-management/tito/pull/495
16+
- bash -c "grep ^Version \"$PACKIT_CONFIG_PACKAGE_NAME.spec\" | awk '{ print $2 }.test'"
1617

1718
# We need to keep the pushed SHA, it is later exported
1819
# as $PACKIT_COMMIT_SHA for Testing Farm jobs.

0 commit comments

Comments
 (0)