Skip to content

Commit

Permalink
Add publish-release workflow and update release-drafter workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ndkhanh-axonivy committed Aug 26, 2024
1 parent 7a31c44 commit 7cccbba
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
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
13 changes: 0 additions & 13 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ on:
- 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
Expand All @@ -24,6 +14,3 @@ permissions:
jobs:
build:
uses: axonivy-market/github-workflows/.github/workflows/release-drafter.yml@v4
with:
version: ${{ github.event.inputs.version }}
prerelease: ${{ github.event.inputs.prerelease }}

0 comments on commit 7cccbba

Please sign in to comment.