Skip to content

Commit 975f09b

Browse files
committed
build: automate release
1 parent fda7067 commit 975f09b

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed

.github/workflows/release-tag.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
on:
2+
push:
3+
tags:
4+
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
5+
6+
name: Create Release
7+
8+
jobs:
9+
build:
10+
name: Create Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@master
15+
- name: Create Release for Tag
16+
id: release_tag
17+
uses: yyx990803/release-tag@master
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
with:
21+
tag_name: ${{ github.ref }}
22+
body: |
23+
Please refer to [CHANGELOG.md](https://github.com/vuejs/vue-router-next/blob/master/CHANGELOG.md) for details.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Get started with the [documentation](http://router.vuejs.org), or play with the
1919

2020
### Development Setup
2121

22-
``` bash
22+
```bash
2323
# install deps
2424
npm install
2525

@@ -61,7 +61,7 @@ Please make sure to read the [Contributing Guide](https://github.com/vuejs/vue/b
6161

6262
## Changelog
6363

64-
Details changes for each release are documented in the [release notes](https://github.com/vuejs/vue-router/releases).
64+
Details changes for each release are documented in the [`CHANGELOG.md file`](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md).
6565

6666
## Stay In Touch
6767

0 commit comments

Comments
 (0)