Skip to content

Commit 6b86098

Browse files
committed
Automatically bump and build releases
1 parent b015ae0 commit 6b86098

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/workflows/draft-release.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,26 @@ on:
77

88
jobs:
99
update-release-draft:
10-
name: Update Release Draft
1110
runs-on: ubuntu-latest
1211
steps:
13-
- uses: release-drafter/release-drafter@v5
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
15+
- name: Update Release Draft
16+
id: release_draft
17+
uses: release-drafter/release-drafter@v5
1418
env:
1519
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
21+
- name: Set version
22+
run: npm version "${{ steps.release_draft.outputs.name }}" --allow-same-version true --git-tag-version false
23+
24+
- name: Install Dependencies
25+
run: npm install
26+
27+
- name: Build
28+
run: npm run all
29+
30+
- name: Commit
31+
uses: EndBug/add-and-commit@v8
32+

0 commit comments

Comments
 (0)