]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Release on tag event.
authorBastien Wirtz <bastien.wirtz@gmail.com>
Fri, 19 Jun 2020 14:56:17 +0000 (07:56 -0700)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Fri, 19 Jun 2020 14:56:17 +0000 (07:56 -0700)
.github/workflows/main.yml
package.json

index fa346b3ded164b24bc379abcc0f1edfff881adf3..5139e31e7d3d0d06cde10ae29a52a387e06c54b8 100644 (file)
@@ -3,7 +3,8 @@ name: Upload Release Asset
 
 on:
   push:
-    branches: [master]
+    tags: 
+      - *
 
 jobs:
   build:
@@ -24,8 +25,8 @@ jobs:
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
         with:
-          tag_name: ${{ github.run_id }}
-          release_name: Release ${{ github.run_id }}
+          tag_name: ${{ github.ref }}
+          release_name: Release ${{ github.ref }}
           draft: false
           prerelease: false
       - name: Upload Release Asset
index f638828fe1edd0ec63355be3a972426a587a1593..28dd8258e7f03cfbccf404cae93b2002e6a1ed4f 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "homer",
-  "version": "2.0.0",
+  "version": "20.06.1",
   "license": "Apache-2.0",
   "scripts": {
     "serve": "vue-cli-service serve",