Skip to content

Commit

Permalink
- Fix correct input name.
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpojer committed Aug 1, 2024
1 parent a440054 commit a9c5727
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ name: Release - create draft release
on:
workflow_dispatch:
inputs:
tagName:
tag-name:
description: 'Name of git tag to be created, and then draft release created. Syntax: "v[0-9]+.[0-9]+.[0-9]+".'
required: true

Expand All @@ -42,7 +42,7 @@ jobs:
core.setFailed('Tag does not match the required format "v[0-9]+.[0-9]+.[0-9]+"');
return;
}
tag-name: ${{ github.event.inputs.tagName }}
tag-name: ${{ github.event.inputs.tag-name }}

- name: Check tag's correct version increment
uses: actions/github-script@v7
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
return;
}
tag-name: ${{ github.event.inputs.tagName }}
tag-name: ${{ github.event.inputs.tag-name }}

generate-release-notes:
needs: check-tag
Expand All @@ -99,7 +99,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag-name: ${{ github.event.inputs.tagName }}
tag-name: ${{ github.event.inputs.tag-name }}
chapters: '[
{"title": "Breaking Changes 💥", "label": "breaking-change"},
{"title": "New Features 🎉", "label": "feature"},
Expand Down

0 comments on commit a9c5727

Please sign in to comment.