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
13 changes: 13 additions & 0 deletions .github/workflows/automation-auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
required: false
type: string
default: ""
enable_major_minor_tag:
required: false
type: boolean
default: false
outputs:
semver:
description: "The semantic version of the release"
Expand All @@ -28,3 +32,12 @@ jobs:
with:
bump_version_scheme: patch
tag_prefix: ${{ inputs.tag_prefix }}
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Also produce major and minor version tags
if: ${{ inputs.enable_major_minor_tag && steps.auto-release-id.outputs.tag_name != '' }}
uses: haya14busa/action-update-semver@v1.5.1
with:
major_version_tag_only: false
tag: ${{ steps.auto-release-id.outputs.tag_name }}
2 changes: 2 additions & 0 deletions .github/workflows/implementation-auto-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ on:
jobs:
auto-release:
uses: ./.github/workflows/automation-auto-release.yml
with:
enable_major_minor_tag: true
Loading