File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 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"},
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
You can’t perform that action at this time.
0 commit comments