Skip to content
Snippets Groups Projects
Commit 77ba88d5 authored by viscapi's avatar viscapi
Browse files

fix: artifacts should now be copied to ${CI_PROJECT_DIR}/output

parent 95d5f110
No related branches found
Tags v1.14.4
No related merge requests found
......@@ -159,11 +159,16 @@ deploy_rpm:dev:
script:
- rpmbuild -bb --define "debug_package %{nil}" rpm/vitamui-front-pastis/rpmbuild/SPECS/vitamui-front-pastis.spec
- rpmbuild -bb --define "debug_package %{nil}" rpm/vitamui-ui-pastis/rpmbuild/SPECS/vitamui-ui-pastis.spec
after_script:
- export lasttag=`git describe --tags --abbrev=0`
- mkdir -p ${CI_PROJECT_DIR}/output
- cp ~/rpmbuild/RPMS/x86_64/vitamui-front-pastis-${lasttag}-*.el7.x86_64.rpm ${CI_PROJECT_DIR}/output
- cp ~/pmbuild/RPMS/x86_64/vitamui-ui-pastis-${lasttag}-*.el7.x86_64.rpm ${CI_PROJECT_DIR}/output
artifacts:
paths:
- "~/rpmbuild/RPMS/x86_64/vitamui-front-pastis-${lasttag}-*.el7.x86_64.rpm"
- "~/pmbuild/RPMS/x86_64/vitamui-ui-pastis-${lasttag}-*.el7.x86_64.rpm"
- ${CI_PROJECT_DIR}/output
<<: *runner-shell-rpm
dependencies: []
......
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