Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit 2a0e372

Browse files
authored
Merge pull request #113 from codecov/dana/assets-names
remove release version from asset name
2 parents 59357e5 + d690c5b commit 2a0e372

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/release_flow.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,24 +49,23 @@ jobs:
4949
CMD_BUILD: >
5050
STATICCODECOV_LIB_PATH=$(find build/ -maxdepth 1 -type d -name 'lib.*' -print -quit | xargs -I {} sh -c "find {} -type f -name 'staticcodecov*' -print -quit | sed 's|^./||'") &&
5151
pyinstaller --add-binary ${STATICCODECOV_LIB_PATH}:. --hidden-import staticcodecov_languages -F codecov_cli/main.py &&
52-
cd dist/ &&
53-
zip -r9 codecovcli_macos_${{github.ref_name}}.zip main
54-
OUT_FILE_NAME: codecovcli_macos_${{github.ref_name}}.zip
55-
ASSET_MIME: application/zip
52+
mv dist/main dist/codecovcli_macos
53+
OUT_FILE_NAME: codecovcli_macos
54+
ASSET_MIME: application/octet-stream
5655
- os: ubuntu-latest
5756
TARGET: ubuntu
5857
CMD_BUILD: >
5958
STATICCODECOV_LIB_PATH=$(find build/ -maxdepth 1 -type d -name 'lib.*' -print -quit | xargs -I {} sh -c "find {} -type f -name 'staticcodecov*' -print -quit | sed 's|^./||'") &&
6059
pyinstaller --add-binary ${STATICCODECOV_LIB_PATH}:. --hidden-import staticcodecov_languages -F codecov_cli/main.py &&
61-
cp ./dist/main ./dist/codecovcli_linux_${{github.ref_name}}
62-
OUT_FILE_NAME: codecovcli_linux_${{github.ref_name}}
60+
cp ./dist/main ./dist/codecovcli_linux
61+
OUT_FILE_NAME: codecovcli_linux
6362
ASSET_MIME: application/octet-stream
6463
# - os: windows-latest
6564
# TARGET: windows
6665
# CMD_BUILD: >
6766
# pyinstaller --debug=imports -F codecov_cli/main.py &&
68-
# cp ./dist/main.exe ./dist/codecovcli_windows_${{github.ref_name}}.exe
69-
# OUT_FILE_NAME: codecovcli_windows_${{github.ref_name}}.exe
67+
# cp ./dist/main.exe ./dist/codecovcli_windows.exe
68+
# OUT_FILE_NAME: codecovcli_windows.exe
7069
# ASSET_MIME: application/vnd.microsoft.portable-executable
7170
steps:
7271
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)