Skip to content

Commit

Permalink
Merge pull request #3041 from yue9944882/master-java8-release-workflow
Browse files Browse the repository at this point in the history
Release: Adjust release workflow validate logic for legacy-branch
  • Loading branch information
k8s-ci-robot committed Feb 9, 2024
2 parents b90dc87 + ac4b773 commit b7efcd2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
- name: Validate Input
run: |
echo "${{ github.ref_type }}" | perl -ne 'die unless m/^branch$/'
echo "${{ github.ref_name }}" | perl -ne 'die unless m/^release-\d+$/'
echo "${{ github.event.inputs.releaseVersion }}" | perl -ne 'die unless m/^\d+\.\d+\.\d+$/'
echo "${{ github.event.inputs.nextDevelopmentVersion }}" | perl -ne 'die unless m/^\d+\.\d+\.\d+-SNAPSHOT$/'
echo "${{ github.ref_name }}" | perl -ne 'die unless m/^release-legacy-\d+$/'
echo "${{ github.event.inputs.releaseVersion }}" | perl -ne 'die unless m/^\d+\.\d+\.\d+-legacy$/'
echo "${{ github.event.inputs.nextDevelopmentVersion }}" | perl -ne 'die unless m/^\d+\.\d+\.\d+-legacy-SNAPSHOT$/'
- name: Checkout
uses: actions/checkout@v4
- name: Check Actor
Expand Down

0 comments on commit b7efcd2

Please sign in to comment.