Skip to content

Commit c8096ea

Browse files
committed
test
1 parent 2cae5f3 commit c8096ea

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/cleanup-release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ on:
77
push:
88
tags:
99
- "*"
10+
# Manual trigger for testing
1011
workflow_dispatch:
1112
inputs:
12-
test_tag:
13-
description: 'Tag version to simulate (e.g., 1.0.0)'
13+
release_tag:
14+
description: 'Release tag to simulate (e.g., 1.0.0) - used for release notes filename'
1415
required: true
1516
type: string
1617

@@ -22,8 +23,8 @@ jobs:
2223
contents: write
2324
pull-requests: write
2425
env:
25-
# Use test_tag input if provided, otherwise use the actual tag
26-
RELEASE_TAG: ${{ inputs.test_tag || github.ref_name }}
26+
# Use input if provided (manual trigger), otherwise use the actual tag
27+
RELEASE_TAG: ${{ inputs.release_tag || github.ref_name }}
2728
steps:
2829
- name: Checkout code
2930
uses: actions/checkout@v4
@@ -37,7 +38,7 @@ jobs:
3738
with:
3839
increment: patch
3940
version-file: version.properties
40-
version-regex: '^(.*)'
41+
version-regex: '^version=(.*)'
4142

4243
- name: Create release notes from current CHANGELOG
4344
run: |

0 commit comments

Comments
 (0)