Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .github/workflows/manual_minor_prerelease.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/manual_patch_prerelease.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/prerelease_github.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Publish release

on:
pull_request:
types: [closed]
branches:
- main

jobs:
publish_release:
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/') && contains(github.event.pull_request.labels.*.name, 'one-click-release')
uses: qonversion/shared-sdk-workflows/.github/workflows/publish_release.yml@main
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release

on:
workflow_dispatch:
inputs:
bump:
description: 'Version part to bump'
required: true
type: choice
options:
- patch
- minor
- major
default: patch
version:
description: 'Explicit release version like 5.13.2 (overrides bump)'
required: false
type: string
release_notes:
description: 'Release notes markdown (empty — auto-generated from pull requests)'
required: false
type: string

jobs:
release:
uses: qonversion/shared-sdk-workflows/.github/workflows/release.yml@main
with:
bump: ${{ inputs.bump }}
version: ${{ inputs.version }}
release_notes: ${{ inputs.release_notes }}
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
9 changes: 0 additions & 9 deletions .github/workflows/release_pull_requests.yml

This file was deleted.

Loading