]> xenbits.xensource.com Git - xen-guest-agent.git/commitdiff
ci/rpm: avoid confusing nesting of quotation marks
authorYann Dirson <yann.dirson@vates.fr>
Wed, 13 Dec 2023 17:29:54 +0000 (18:29 +0100)
committerYann Dirson <yann.dirson@vates.fr>
Wed, 13 Dec 2023 17:30:14 +0000 (18:30 +0100)
Although valid shell syntax, this confuses some editors.

Signed-off-by: Yann Dirson <yann.dirson@vates.fr>
.gitlab-ci.yml

index 7c469eb374e4acbd760883679ac451dbe45b5cbb..679d57921706c384bbff07c1be8217ef0ba85029 100644 (file)
@@ -204,7 +204,7 @@ rpm-x86_64:
       -e "s/@@UPSTREAMVERSION@@/$UPSTREAMVERSION/"
       -e "s/@@VERSION@@/$VERSION/"
       -e "s/@@AUTHOR@@/$GITLAB_USER_NAME <$GITLAB_USER_EMAIL>/"
-      -e "s/@@DATE@@/$(date +"%a %b %d %Y")/"
+      -e "s/@@DATE@@/$(date +'%a %b %d %Y')/"
     - dnf builddep xen-guest-agent.spec -y
   script:
     - 'rpmbuild -bb xen-guest-agent.spec --define "_topdir $(pwd)"'