diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-06-19 07:56:17 -0700 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-06-19 07:56:17 -0700 |
commit | fea05ea099424bab0f3d9cede6f054a7c4970a3f (patch) | |
tree | 045a58f558f3674642db4ca241aa22c986c08a6b | |
parent | aac817970ce37f5991ae94c5c58ea2e1695420e2 (diff) | |
download | homer-fea05ea099424bab0f3d9cede6f054a7c4970a3f.tar.gz homer-fea05ea099424bab0f3d9cede6f054a7c4970a3f.tar.zst homer-fea05ea099424bab0f3d9cede6f054a7c4970a3f.zip |
Release on tag event.
-rw-r--r-- | .github/workflows/main.yml | 7 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fa346b3..5139e31 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml | |||
@@ -3,7 +3,8 @@ name: Upload Release Asset | |||
3 | 3 | ||
4 | on: | 4 | on: |
5 | push: | 5 | push: |
6 | branches: [master] | 6 | tags: |
7 | - * | ||
7 | 8 | ||
8 | jobs: | 9 | jobs: |
9 | build: | 10 | build: |
@@ -24,8 +25,8 @@ jobs: | |||
24 | env: | 25 | env: |
25 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | 26 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
26 | with: | 27 | with: |
27 | tag_name: ${{ github.run_id }} | 28 | tag_name: ${{ github.ref }} |
28 | release_name: Release ${{ github.run_id }} | 29 | release_name: Release ${{ github.ref }} |
29 | draft: false | 30 | draft: false |
30 | prerelease: false | 31 | prerelease: false |
31 | - name: Upload Release Asset | 32 | - name: Upload Release Asset |
diff --git a/package.json b/package.json index f638828..28dd825 100644 --- a/package.json +++ b/package.json | |||
@@ -1,6 +1,6 @@ | |||
1 | { | 1 | { |
2 | "name": "homer", | 2 | "name": "homer", |
3 | "version": "2.0.0", | 3 | "version": "20.06.1", |
4 | "license": "Apache-2.0", | 4 | "license": "Apache-2.0", |
5 | "scripts": { | 5 | "scripts": { |
6 | "serve": "vue-cli-service serve", | 6 | "serve": "vue-cli-service serve", |