From: John Ellson Date: Thu, 26 Jul 2018 14:43:12 +0000 (-0400) Subject: collect rpms into artifacts X-Git-Tag: 2.42.0~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=764303d9a597ec4f30ff47447781073b703a914d;p=graphviz collect rpms into artifacts --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 09121a32c..42061c7c0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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