Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MARP-620 Add publish-release workflow #18

Merged
merged 2 commits into from
Aug 26, 2024
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
18 changes: 18 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Publish Release

on:
push:
tags:
- "v*.*.*"

permissions:
contents: write
pull-requests: read

jobs:
build:
uses: axonivy-market/github-workflows/.github/workflows/publish-release.yml@v4
# The 'publish_release' input parameter is used to control whether the release should be published automatically.
# Uncomment and set to 'false' if you want to prevent the release from being published immediately.
# with:
# publish_release: false
16 changes: 3 additions & 13 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,16 @@
name: Release Drafter

on:
push:
branches:
- master
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
inputs:
version:
description: 'Release version'
required: true
prerelease:
description: 'Is this a prerelease?'
required: false
default: false
type: boolean

permissions:
contents: write
pull-requests: write

jobs:
build:
uses: axonivy-market/github-workflows/.github/workflows/release-drafter.yml@v4
with:
version: ${{ github.event.inputs.version }}
prerelease: ${{ github.event.inputs.prerelease }}
Loading