]> Nishi Git Mirror - gwion.git/commitdiff
:art: Improve releases
authorJérémie Astor <fennecdjay@gmail.com>
Sun, 28 Feb 2021 14:35:58 +0000 (15:35 +0100)
committerJérémie Astor <fennecdjay@gmail.com>
Sun, 28 Feb 2021 14:35:58 +0000 (15:35 +0100)
.github/workflows/linux-release.yml
.github/workflows/windows-release.yml

index e2c9e706b1a6b72ef88318ebe1510fce171147b7..52df2f6d2df1cad2179b1f45afb38eba0e2a6fcd 100644 (file)
@@ -29,15 +29,15 @@ jobs:
       env:                                                                                                                                                                                
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token                                                           
       with:                                                                                                                                                                               
-        tag_name: linux-${{ github.sha }}
-        release_name: release-${{ github.ref }}
+        tag_name: gwion-linux-${{ github.sha }}
+        release_name: gwion-release-${{ github.ref }}
         body: |                                                                                                                                                                           
           Generated by github actions                                                                                                                                                     
         draft: false                                                                                                                                                                      
         prerelease: false       
 
     - name: Compress
-      run: tar -czvf linux.tar.gz ./gwion
+      run: tar -czvf gwion-linux.tar.gz ./gwion
 
     - name: Upload Release Asset
       id: upload-release-asset 
@@ -46,6 +46,6 @@ jobs:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
       with:
         upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps 
-        asset_path: ./linux.tar.gz
-        asset_name: linux.tar.gz
+        asset_path: ./gwion-linux.tar.gz
+        asset_name: gwion-linux.tar.gz
         asset_content_type: application/gzip
index fab38caf2a16a64ce5a4a5eeba9acf4e628e6612..45b8b3eab0403c7b57631cd48100c51cc88dd1a4 100644 (file)
@@ -30,8 +30,8 @@ jobs:
       env:                                                                                                                                                                                
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token                                                           
       with:                                                                                                                                                                               
-        tag_name: windows-${{ github.sha }}
-        release_name: release-${{ github.ref }}
+        tag_name: gwion-windows-${{ github.sha }}
+        release_name: gwion-release-${{ github.ref }}
         body: |                                                                                                                                                                           
           Generated by github actions                                                                                                                                                     
         draft: false