File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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
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 : |
You can’t perform that action at this time.
0 commit comments