-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (47 loc) · 1.35 KB
/
nmc-app-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
###
# SPDX-License-Identifier: AGPL-3.0
#
# Author: Bernd rederlechner <[email protected]>
#
# Builds a stable release package based on a release assembly
# customisation-<version>-<increment>
#
# As soon as a package is deployed to production, the tag and the branch
# MUST STAY FOR 2 years and not deleted.
#
# Release packages, tags and customisation branches not delivered to production should
# be deleted asap a newer release is available.
#
name: MCLOUD app release
on:
workflow_dispatch:
inputs:
branch:
type: choice
description: Branch to build a package from
options:
- main
- stable25
- stable26
- stable27
- stable28
increment:
description: 'Release increment'
required: true
type: number
jobs:
check-app:
uses: nextmcloud/.github/.github/workflows/nmc-app-precond.yml@master
with:
versionbranch: ${{ inputs.branch }}
increment: ${{ inputs.increment }}
secrets: inherit
build-app:
uses: nextmcloud/.github/.github/workflows/nmc-app-build.yml@master
needs: check-app
with:
appname: ${{ needs.check-app.outputs.appname }}
branch: ${{ inputs.branch }}
tag: ${{ needs.check-app.outputs.tag }}
prerelease: ${{ inputs.branch == 'main' && true || false }}
secrets: inherit