Skip to content

Commit 7fc921e

Browse files
remove readme after portable artifact
1 parent 1e86265 commit 7fc921e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
# package portable
5757
cp ./README.md dist/BitCapIPR
5858
zip -r BitCapIPR-${{ github.ref_name}}-linux-AMD64-portable.zip dist/BitCapIPR
59+
rm dist/BitCapIPR/README.md
5960
6061
# deb package
6162
[ -e package ] && rm -r package
@@ -89,6 +90,7 @@ jobs:
8990
# package portable
9091
cp ./README.md dist/BitCapIPR.app/Contents
9192
zip -9 -y -r BitCapIPR-${{ github.ref_name }}-macos-${{ runner.arch }}-portable.zip dist/BitCapIPR.app
93+
rm dist/BitCapIPR.app/Contents/README.md
9294
9395
# create dmg setup
9496
brew install create-dmg
@@ -122,6 +124,7 @@ jobs:
122124
# package portable
123125
Copy-Item .\README.md .\dist\BitCapIPR
124126
Compress-Archive -Path .\dist\BitCapIPR -DestinationPath BitcapIPR-${{ github.ref_name}}-win-${{ runner.arch }}-portable.zip -Force
127+
Remove-Item -Path .\dist\BitCapIPR\README.md
125128
126129
# inno setup
127130
choco install innosetup

0 commit comments

Comments
 (0)