@@ -17,19 +17,20 @@ jobs:
1717 run : echo "::set-output name=date::$(date +'%Y-%m-%d_%H-%M-%S')"
1818 - name : build artifacts
1919 run : |
20- mkdir release
21- cp v10_prototype_version_2/20220109/helper.py release /helper.py
22- cp v10_prototype_version_2/20220109/config.py release /config.py
23- cp v10_prototype_version_2/20220109/ecu_simulator_v1.py release /main.py
24- cp v10_prototype_version_2/20220109/test_02_calc_hash_2.py release /generate_config.py
25- zip release. zip release
20+ mkdir release_${{ steps.date.outputs.date }}
21+ cp v10_prototype_version_2/20220109/helper.py release_${{ steps.date.outputs.date }} /helper.py
22+ cp v10_prototype_version_2/20220109/config.py release_${{ steps.date.outputs.date }} /config.py
23+ cp v10_prototype_version_2/20220109/ecu_simulator_v1.py release_${{ steps.date.outputs.date }} /main.py
24+ cp v10_prototype_version_2/20220109/test_02_calc_hash_2.py release_${{ steps.date.outputs.date }} /generate_config.py
25+ zip release_${{ steps.date.outputs.date }}. zip release_${{ steps.date.outputs.date }}/*
2626 - name : release
2727 uses : actions/create-release@v1
2828 id : create_release
2929 with :
3030 draft : false
3131 prerelease : false
3232 release_name : release-${{ steps.date.outputs.date }}
33+ tag_name : tag-${{ steps.date.outputs.date }}
3334 env :
3435 GITHUB_TOKEN : ${{ github.token }}
3536 - name : upload linux artifact
3839 GITHUB_TOKEN : ${{ github.token }}
3940 with :
4041 upload_url : ${{ steps.create_release.outputs.upload_url }}
41- asset_path : release .zip
42- asset_name : release .zip
42+ asset_path : release_${{ steps.date.outputs.date }} .zip
43+ asset_name : release_${{ steps.date.outputs.date }} .zip
4344 asset_content_type : application/zip
4445
0 commit comments