mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-03-12 23:01:52 +01:00
Merge branch 'main' into 'feature/publishfdroid'
# Conflicts: # .gitlab-ci.yml
This commit is contained in:
commit
4f8d1aa68b
@ -210,7 +210,6 @@ pages:
|
|||||||
stage: deploy
|
stage: deploy
|
||||||
needs:
|
needs:
|
||||||
- pack_FDroid_APK
|
- pack_FDroid_APK
|
||||||
- pack_iOS
|
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
||||||
tags:
|
tags:
|
||||||
@ -238,6 +237,41 @@ pages:
|
|||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
||||||
|
upload_binaries:
|
||||||
|
stage: deploy
|
||||||
|
needs:
|
||||||
|
- pack_Android_APK
|
||||||
|
tags:
|
||||||
|
- docker
|
||||||
|
image: curlimages/curl:latest
|
||||||
|
before_script: []
|
||||||
|
cache: []
|
||||||
|
script:
|
||||||
|
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file Borepin/Borepin.Android/bin/Release/org.fab_infra.fabaccess-Signed.apk "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/borepin/${CI_COMMIT_TAG}/org.fab_infra.fabaccess-Signed.apk"'
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
||||||
|
|
||||||
|
release_job:
|
||||||
|
stage: deploy
|
||||||
|
needs:
|
||||||
|
- upload_binaries
|
||||||
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
|
tags:
|
||||||
|
- docker
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_TAG != null && $CI_COMMIT_TAG =~ /v\d+\.\d+(\.\d+)?/
|
||||||
|
when: manual
|
||||||
|
script:
|
||||||
|
- echo "Creating GitLab release…"
|
||||||
|
release:
|
||||||
|
name: "Borepin ${CI_COMMIT_TAG}"
|
||||||
|
description: "GitLab CI auto-created release"
|
||||||
|
tag_name: "release/${CI_COMMIT_TAG}"
|
||||||
|
assets:
|
||||||
|
links:
|
||||||
|
- name: 'Borepin signed apk'
|
||||||
|
url: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/borepin/${CI_COMMIT_TAG}/org.fab_infra.fabaccess-Signed.apk"
|
||||||
|
|
||||||
deploy_Android_Beta:
|
deploy_Android_Beta:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
needs:
|
needs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user