]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
build: auto publish github release on tag push
authorEvan You <yyx990803@gmail.com>
Mon, 27 Apr 2020 16:26:22 +0000 (12:26 -0400)
committerEvan You <yyx990803@gmail.com>
Mon, 27 Apr 2020 16:26:22 +0000 (12:26 -0400)
.github/workflows/release-tag.yml [new file with mode: 0644]

diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml
new file mode 100644 (file)
index 0000000..a3e4854
--- /dev/null
@@ -0,0 +1,23 @@
+on:
+  push:
+    tags:
+      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
+
+name: Create Release
+
+jobs:
+  build:
+    name: Create Release
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout code
+        uses: actions/checkout@master
+      - name: Create Release for Tag
+        id: release_tag
+        uses: yyx990803/release-tag@master
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        with:
+          tag_name: ${{ github.ref }}
+          body: |
+            Please refer to CHANGELOG.md for details.