Unverified Commit 7164bb31 authored by Haelwenn's avatar Haelwenn

.gitlab-ci.yml: make a separated release build

parent 5f720853
Pipeline #22116 failed
image: coderus/sailfishos-platform-sdk:latest
build:
build-release:
only:
- master@pleroma/harbour-kyclos
- develop@pleroma/harbour-kyclos
script:
- sudo mkdir RPMS
- cp -r . /home/nemo/harbour-kyclos
- cd /home/nemo/harbour-kyclos
- for target in $(sb2-config -l); do echo $target; mb2 -X -t $target build; sudo cp RPMS/*.rpm "$CI_PROJECT_DIR/RPMS/"; done
artifacts:
name: RPMS
paths:
- RPMS
build-devel:
expect:
- master@pleroma/harbour-kyclos
- develop@pleroma/harbour-kyclos
script:
- git config --global user.email ci@example.org
- git config --global user.name "Gitlab CI"
- sudo mkdir RPMS
- cp -r . /home/nemo/harbour-kyclos
- cd /home/nemo/harbour-kyclos
- for target in $(sb2-config -l); do echo $target; mb2 -t $target build; sudo cp RPMS/*.rpm "$CI_PROJECT_DIR/RPMS/"; done
- for target in $(sb2-config -l); do echo $target; mb2 -x -c -t $target build --enable-debug; sudo cp RPMS/*.rpm "$CI_PROJECT_DIR/RPMS/"; done
artifacts:
name: RPMS
paths:
......
......@@ -14,7 +14,7 @@ Name: harbour-kyclos
%{?qtc_builddir:%define _builddir %qtc_builddir}
Summary: Kyclos
Version: 0.1.1
Release: 0
Release: 1
Group: Applications/Internet
License: GPL-3
URL: https://git.pleroma.social/pleroma/harbour-kyclos
......
Name: harbour-kyclos
Summary: Kyclos
Version: 0.1.1
Release: 0
Release: 1
# The contents of the Group field should be one of the groups listed here:
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
Group: Applications/Internet
......
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