Skip to content

Commit

Permalink
fix: cannot read properties of undefined (reading 'tag_name')
Browse files Browse the repository at this point in the history
  • Loading branch information
strophy committed Jun 29, 2023
1 parent 8d3aad2 commit 13604be
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
script: |
let tag = context.payload.release.tag_name;
if (context.eventName === 'workflow_dispatch') {
tag = '${{ inputs.tag }}';
tag = '${{ github.event.inputs.tag }}';
}
return tag;
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
script: |
let tag = context.payload.release.tag_name;
if (context.eventName === 'workflow_dispatch') {
tag = '${{ inputs.tag }}';
tag = '${{ github.event.inputs.tag }}';
}
return tag;
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
script: |
let tag = context.payload.release.tag_name;
if (context.eventName === 'workflow_dispatch') {
tag = '${{ inputs.tag }}';
tag = '${{ github.event.inputs.tag }}';
}
return tag;
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
script: |
let tag = context.payload.release.tag_name;
if (context.eventName === 'workflow_dispatch') {
tag = '${{ inputs.tag }}';
tag = '${{ github.event.inputs.tag }}';
}
return tag;
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
script: |
let tag = context.payload.release.tag_name;
if (context.eventName === 'workflow_dispatch') {
tag = '${{ inputs.tag }}';
tag = '${{ github.event.inputs.tag }}';
}
return tag;
Expand Down

0 comments on commit 13604be

Please sign in to comment.