Skip to content

Commit 73b985e

Browse files
committed
- Applying string tag to all places.
1 parent f341920 commit 73b985e

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/release_draft.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ jobs:
5454
env:
5555
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5656
with:
57-
tag-name: ${{ github.event.inputs.tag-name }}
57+
# tag-name: ${{ github.event.inputs.tag-name }}
58+
tag-name: 'v0.3.0'
5859
chapters: '[
5960
{"title": "No entry 🚫", "label": "duplicate"},
6061
{"title": "No entry 🚫", "label": "invalid"},
@@ -79,7 +80,8 @@ jobs:
7980
uses: actions/github-script@v7
8081
with:
8182
script: |
82-
const tag = core.getInput('tag-name')
83+
# const tag = core.getInput('tag-name')
84+
const tag = 'v0.3.0'
8385
const ref = `refs/tags/${tag}`;
8486
const sha = context.sha; // The SHA of the commit to tag
8587

@@ -92,15 +94,18 @@ jobs:
9294

9395
console.log(`Tag created: ${tag}`);
9496
github-token: ${{ secrets.GITHUB_TOKEN }}
95-
tag-name: ${{ github.event.inputs.tag-name }}
97+
# tag-name: ${{ github.event.inputs.tag-name }}
98+
tag-name: 'v0.3.0'
9699

97100
- name: Create Draft Release
98101
uses: softprops/action-gh-release@v1
99102
env:
100103
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
101104
with:
102-
name: ${{ github.event.inputs.tag-name }}
105+
# name: ${{ github.event.inputs.tag-name }}
106+
name: 'v0.3.0'
103107
body: ${{ steps.generate_release_notes.outputs.release-notes }}
104-
tag_name: ${{ github.event.inputs.tag-name }}
108+
# tag_name: ${{ github.event.inputs.tag-name }}
109+
tag_name: 'v0.3.0'
105110
draft: true
106111
prerelease: false

0 commit comments

Comments
 (0)