]> granicus.if.org Git - graphviz/commitdiff
collect rpms into artifacts
authorJohn Ellson <ellson@research.att.com>
Thu, 26 Jul 2018 14:43:12 +0000 (10:43 -0400)
committerJohn Ellson <ellson@research.att.com>
Thu, 26 Jul 2018 14:43:12 +0000 (10:43 -0400)
.gitlab-ci.yml

index 09121a32c21189747e5ddfe8a04f720b435918da..42061c7c05a46f97f69973042b3b5f9a5e96d5e6 100644 (file)
@@ -21,13 +21,15 @@ portable-source:
 .build_template: &build_definition
     stage: build
     script:
+        - rm -rf /home/gitlab-runner/rpmbuild
         - VERSION=$( cat VERSION )
-        - rpmbuild -ta graphviz-$VERSION.tar.gz
+        - rpmbuild -ta graphviz-${VERSION}.tar.gz
     artifacts:
         when: on_success
         expire_in: 1 week
         paths:
-            - graphviz-*.rpm
+            - /home/gitlab-runner/rpmbuild/SRPMS/graphviz-${VERSION}-1.rpm
+            - /home/gitlab-runner/rpmbuild/RPMS/*/graphviz*-${VERSION}-1.rpm
     only:
         - master