Skip to content

Commit b7efcd2

Browse files
authored
Merge pull request #3041 from yue9944882/master-java8-release-workflow
Release: Adjust release workflow validate logic for legacy-branch
2 parents b90dc87 + ac4b773 commit b7efcd2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
- name: Validate Input
2424
run: |
2525
echo "${{ github.ref_type }}" | perl -ne 'die unless m/^branch$/'
26-
echo "${{ github.ref_name }}" | perl -ne 'die unless m/^release-\d+$/'
27-
echo "${{ github.event.inputs.releaseVersion }}" | perl -ne 'die unless m/^\d+\.\d+\.\d+$/'
28-
echo "${{ github.event.inputs.nextDevelopmentVersion }}" | perl -ne 'die unless m/^\d+\.\d+\.\d+-SNAPSHOT$/'
26+
echo "${{ github.ref_name }}" | perl -ne 'die unless m/^release-legacy-\d+$/'
27+
echo "${{ github.event.inputs.releaseVersion }}" | perl -ne 'die unless m/^\d+\.\d+\.\d+-legacy$/'
28+
echo "${{ github.event.inputs.nextDevelopmentVersion }}" | perl -ne 'die unless m/^\d+\.\d+\.\d+-legacy-SNAPSHOT$/'
2929
- name: Checkout
3030
uses: actions/checkout@v4
3131
- name: Check Actor

0 commit comments

Comments
 (0)