Commit 3ccdd444 authored by Frediano Ziglio's avatar Frediano Ziglio

copr: Patch RPM Release, not Version

Version should be the product version, not ignoring completely.
Other projects too put the date in the release.
Signed-off-by: Frediano Ziglio's avatarFrediano Ziglio <fziglio@redhat.com>
Acked-by: Uri Lublin's avatarUri Lublin <uril@redhat.com>
parent 2ec1ad0f
Pipeline #124257 passed with stage
in 2 minutes and 1 second
......@@ -25,8 +25,8 @@ srpm:
dnf install -y `sed '/^BuildRequires:/!d; s/.*://; s/python36/python3/; s/\bspice-protocol\b//; s/>.*//' *.spec.in`
# set project version
sed -i -E "s/^( +version : )'[0-9\.]+'/\\1'$$(date +'%Y%m%d%H%M.spice.latest')'/" meson.build
git add meson.build
sed -i -E "s/^(Release: +).*/\\1$$(date +'%Y%m%d%H%M.spice.latest')/" spice-streaming-agent.spec.in
git add spice-streaming-agent.spec.in
git config --local user.email "dummy@dummy.com"
git config --local user.name "dummy"
git commit -m 'automatic version update'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment