Skip to content

Commit 9cbe1b1

Browse files
committed
Fix repackage on macos
1 parent 391f25b commit 9cbe1b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,11 @@ jobs:
221221
222222
rm -f *.tar.gz
223223
224-
VERSION=$(grep -A1 'project(EGIAmpServer' ../CMakeLists.txt | grep VERSION | sed 's/.*VERSION \([0-9.]*\).*/\1/')
224+
VERSION=$(sed -n '/project(EGIAmpServer/,/)/s/.*VERSION \([0-9.]*\).*/\1/p' ../CMakeLists.txt)
225225
echo "Detected version: $VERSION"
226226
227227
tar -cvzf "EGIAmpServer-${VERSION}-macOS_universal-signed.tar.gz" \
228-
EGIAmpServer.app ampserver_config.cfg
228+
EGIAmpServer.app EGIAmpServerCLI
229229
230230
echo "Created package:"
231231
ls -la *.tar.gz

0 commit comments

Comments
 (0)