[Git][csonto/lvm2][main] packit: Fix release job archive path
Marian Csontos (@csonto)
gitlab at mg.gitlab.com
Thu Oct 26 10:38:42 UTC 2023
Marian Csontos pushed to branch main at Marian Csontos / lvm2
Commits:
4950085c by Marian Csontos at 2023-10-26T12:38:10+02:00
packit: Fix release job archive path
(cherry picked from commit 1585c34f40a4900ee6bd66f0f34fa390669a5ea0)
- - - - -
1 changed file:
- .packit.yaml
Changes:
=====================================
.packit.yaml
=====================================
@@ -105,7 +105,7 @@ jobs:
git archive --prefix=$PREFIX/ --output=$TARBALL HEAD > /dev/null;
echo $TARBALL;
'
- # TODO: Release should be taken from tag
+ # NOTE: Release could be taken from tag, testing autorelease macro
fix-spec-file: >
bash -c 'set -xv;
VERSION_DM=$(sed -e "s/^\([0-9.]*\).*/\1/" VERSION_DM);
@@ -126,14 +126,16 @@ jobs:
files_to_sync:
- spec/fedora/lvm2.spec
actions:
+ # NOTE: The get-current-version is not called, tag is used instead
create-archive: >
bash -c 'set -xv;
- PREFIX=LVM2.$PACKIT_PROJECT_VERSION;
+ VERSION=$(sed -e "s/^\([0-9.]*\).*/\1/" VERSION);
+ PREFIX=LVM2.$VERSION;
TARBALL=spec/fedora/$PREFIX.tgz;
git archive --prefix=$PREFIX/ --output=$TARBALL HEAD > /dev/null;
echo $TARBALL;
'
- # TODO: Release should be taken from tag
+ # NOTE: Release could be taken from tag, I am testing autorelease
fix-spec-file: >
bash -c 'set -xv;
VERSION_DM=$(sed -e "s/^\([0-9.]*\).*/\1/" VERSION_DM);
View it on GitLab: https://gitlab.com/csonto/lvm2/-/commit/4950085c1157a0f7d8c247fd68db64d633f0f531
--
View it on GitLab: https://gitlab.com/csonto/lvm2/-/commit/4950085c1157a0f7d8c247fd68db64d633f0f531
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20231026/7d9947a0/attachment-0001.htm>
More information about the lvm-devel
mailing list