File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,18 @@ jobs:
28
28
- name : Build with Maven
29
29
run : mvn -B package --file pom.xml
30
30
31
+ - name : Rename plugin with version number
32
+ run : mv ./target/matlab-plugin.zip ./target/matlab-teamcity-plugin-${{ github.event.release.tag_name }}.zip
33
+
31
34
- name : Upload Release Asset New
32
35
id : upload-release-asset
33
36
uses : actions/upload-release-asset@v1
34
37
env :
35
38
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
39
with :
37
40
upload_url : https://uploads.github.com/repos/mathworks/matlab-teamcity-plugin/releases/${{ github.event.release.id }}/assets{?name,label}
38
- asset_path : ./target/matlab-plugin.zip
39
- asset_name : matlab-plugin.zip
41
+ asset_path : ./target/matlab-teamcity- plugin-${{ github.event.release.tag_name }} .zip
42
+ asset_name : matlab-teamcity- plugin-${{ github.event.release.tag_name }} .zip
40
43
asset_content_type : application/zip
41
44
env :
42
- GITHUB_TOKEN : ${{ github.token }}
45
+ GITHUB_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments