File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,7 +132,8 @@ jobs:
132132
133133 # Compress the server to an archive
134134 ARCHIVE="$GITHUB_WORKSPACE/kallichore-${{ needs.get_version.outputs.KALLICHORE_VERSION }}${{ env.DEBUG_FLAG }}-darwin-${{ matrix.arch }}.zip"
135- zip -Xry $ARCHIVE kcserver
135+ [ -e LICENSE.txt ] || cp "$GITHUB_WORKSPACE/LICENSE.txt" LICENSE.txt
136+ zip -Xry $ARCHIVE kcserver LICENSE.txt
136137
137138 popd
138139
@@ -288,6 +289,9 @@ jobs:
288289 # Create a universal binary
289290 lipo -create x64/kcserver arm64/kcserver -output kcserver
290291
292+ # Copy the license
293+ cp arm64/LICENSE.txt LICENSE.txt
294+
291295 # Compress and bundle
292296 ARCHIVE="$GITHUB_WORKSPACE/kallichore-${{ env.RELEASE_TAG }}${{ env.DEBUG_FLAG }}-darwin-universal.zip"
293297 [ -e LICENSE.txt ] || cp "$GITHUB_WORKSPACE/LICENSE.txt" LICENSE.txt
You can’t perform that action at this time.
0 commit comments