Skip to content

Commit

Permalink
added workflow for app release
Browse files Browse the repository at this point in the history
  • Loading branch information
rhtot committed Oct 5, 2023
1 parent 9c85229 commit dc089ef
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/nmc-app-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
###
# 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@nmc/2027-build-test-rtoth
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

0 comments on commit dc089ef

Please sign in to comment.