Skip to content

Commit fbc634b

Browse files
committed
ci: change to compressed package
1 parent 8268530 commit fbc634b

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ jobs:
4040
with:
4141
category: "/language:${{matrix.language}}"
4242

43+
- name: create release package
44+
run: ./CreateRelease.bat
45+
46+
- name: compress release package
47+
run: Compress-Archive -Path .\NewRelease\x64\Binaries\* -DestinationPath .\OpenCppCoverage.zip
48+
4349
- name: release package
4450
shell: pwsh
4551
run: |
@@ -74,7 +80,7 @@ jobs:
7480
7581
if ($LASTEXITCODE -eq 0) {
7682
# Create GitHub release
77-
$releaseResult = gh release create $tagName .\x64\Release\OpenCppCoverage.exe --title "OpenCppCoverage $version" --notes "Release $version"
83+
$releaseResult = gh release create $tagName .\OpenCppCoverage.zip --title "OpenCppCoverage $version" --notes "Release $version"
7884
7985
if ($LASTEXITCODE -eq 0) {
8086
Write-Host "Successfully created release $tagName"

CreateRelease.bat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,3 @@ xcopy /y x64\Release\OpenCppCoverage.pdb NewRelease\x64\Pdb
4848
xcopy /y x64\Release\Exporter.pdb NewRelease\x64\Pdb
4949
xcopy /y x64\Release\CppCoverage.pdb NewRelease\x64\Pdb
5050
xcopy /y x64\Release\Tools.pdb NewRelease\x64\Pdb
51-
pause

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.1
1+
0.0.2

0 commit comments

Comments
 (0)