Jenkins: Archive symlinks on the macOS zip
This commit is contained in:
@@ -474,7 +474,7 @@ then
|
|||||||
# Create zip.
|
# Create zip.
|
||||||
echo [-] Creating artifact archive
|
echo [-] Creating artifact archive
|
||||||
cd archive_tmp
|
cd archive_tmp
|
||||||
zip -r "$cwd/$package_name.zip" .
|
zip --symlinks -r "$cwd/$package_name.zip" .
|
||||||
status=$?
|
status=$?
|
||||||
|
|
||||||
# Check if the archival succeeded.
|
# Check if the archival succeeded.
|
||||||
@@ -895,7 +895,7 @@ elif is_mac
|
|||||||
then
|
then
|
||||||
# Create zip.
|
# Create zip.
|
||||||
cd archive_tmp
|
cd archive_tmp
|
||||||
zip -r "$cwd/$package_name.zip" .
|
zip --symlinks -r "$cwd/$package_name.zip" .
|
||||||
status=$?
|
status=$?
|
||||||
else
|
else
|
||||||
# Determine AppImage runtime architecture.
|
# Determine AppImage runtime architecture.
|
||||||
|
Reference in New Issue
Block a user