Skip to content

Commit 4fb5011

Browse files
committed
update action
1 parent a415b81 commit 4fb5011

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/build-and-release.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,9 @@ on:
1111
push:
1212
branches: [ master ]
1313

14-
permissions:
15-
contents: read
16-
1714
jobs:
1815
build:
19-
2016
runs-on: ubuntu-latest
21-
2217
steps:
2318
- uses: actions/checkout@v3
2419
- name: Set up JDK 11
@@ -32,4 +27,6 @@ jobs:
3227
- name: Release plugin
3328
env:
3429
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35-
run: gh release create ${{ github.event.release.tag_name }} ./build/distributions/* -F RELEASENOTE.md
30+
run: |
31+
tag = $(sed -n '1p' RELEASENOTE.md)
32+
gh release create $tag ./build/distributions/* -F RELEASENOTE.md

RELEASENOTE.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
1. fix multi head
2-
2. add relation parameter completion
3-
3. fix parameter info hint
1+
v2.0.1
2+
2. fix multi head
3+
3. add relation parameter completion
4+
4. fix parameter info hint

0 commit comments

Comments
 (0)