mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 16:14:38 +00:00
fix portable archives
This commit is contained in:
parent
85e191182c
commit
07dceb4153
27
.github/workflows/CreateRelease.yml
vendored
27
.github/workflows/CreateRelease.yml
vendored
@ -289,10 +289,11 @@ jobs:
|
||||
chmod +x meshlab_linux_portable_double/AppRun
|
||||
- name: Create MeshLab Portable Linux Archive
|
||||
run: |
|
||||
mv meshlab_linux_portable MeshLab${{ github.event.inputs.version }}${{steps.envs.outputs.rc_suffix}}-linux
|
||||
tar -cvzf MeshLab${{ github.event.inputs.version }}${{steps.envs.outputs.rc_suffix}}-linux.tar.gz MeshLab${{ github.event.inputs.version }}${{steps.envs.outputs.rc_suffix}}-linux/
|
||||
mv meshlab_linux_portable_double MeshLab${{ github.event.inputs.version }}d${{steps.envs.outputs.rc_suffix}}-linux
|
||||
tar -cvzf MeshLab${{ github.event.inputs.version }}d${{steps.envs.outputs.rc_suffix}}-linux.tar.gz MeshLab${{ github.event.inputs.version }}d${{steps.envs.outputs.rc_suffix}}-linux/
|
||||
cd meshlab_linux_portable
|
||||
tar -cvzf ../MeshLab${{ github.event.inputs.version }}${{steps.envs.outputs.rc_suffix}}-linux.tar.gz *
|
||||
cd ../meshlab_linux_portable_double
|
||||
tar -cvzf ../MeshLab${{ github.event.inputs.version }}d${{steps.envs.outputs.rc_suffix}}-linux.tar.gz *
|
||||
cd ..
|
||||
|
||||
|
||||
#Download MacOS Package
|
||||
@ -318,10 +319,11 @@ jobs:
|
||||
path: meshlab_macos_portable_double
|
||||
- name: Create MeshLab Portable MacOS
|
||||
run: |
|
||||
mv meshlab_macos_portable MeshLab${{ github.event.inputs.version }}${{steps.envs.outputs.rc_suffix}}-macos.app
|
||||
zip -r MeshLab${{ github.event.inputs.version }}${{steps.envs.outputs.rc_suffix}}-macos.zip MeshLab${{ github.event.inputs.version }}${{steps.envs.outputs.rc_suffix}}-macos.app/
|
||||
mv meshlab_macos_portable_double MeshLab${{ github.event.inputs.version }}d${{steps.envs.outputs.rc_suffix}}-macos.app
|
||||
zip -r MeshLab${{ github.event.inputs.version }}d${{steps.envs.outputs.rc_suffix}}-macos.zip MeshLab${{ github.event.inputs.version }}d${{steps.envs.outputs.rc_suffix}}-macos.app/
|
||||
cd meshlab_macos_portable
|
||||
zip -r ../MeshLab${{ github.event.inputs.version }}${{steps.envs.outputs.rc_suffix}}-macos.zip *
|
||||
cd ../meshlab_macos_portable_double
|
||||
zip -r ../MeshLab${{ github.event.inputs.version }}d${{steps.envs.outputs.rc_suffix}}-macos.zip *
|
||||
cd ..
|
||||
|
||||
#Download Windows Packages
|
||||
- name: Download Windows ZIP
|
||||
@ -346,10 +348,11 @@ jobs:
|
||||
path: meshlab_windows_installer_double
|
||||
- name: Create MeshLab Portable Windows Archive
|
||||
run: |
|
||||
mv meshlab_windows_portable MeshLab${{ github.event.inputs.version }}${{steps.envs.outputs.rc_suffix}}-windows
|
||||
zip -r MeshLab${{ github.event.inputs.version }}${{steps.envs.outputs.rc_suffix}}-windows.zip MeshLab${{ github.event.inputs.version }}${{steps.envs.outputs.rc_suffix}}-windows/
|
||||
mv meshlab_windows_portable_double MeshLab${{ github.event.inputs.version }}d${{steps.envs.outputs.rc_suffix}}-windows
|
||||
zip -r MeshLab${{ github.event.inputs.version }}d${{steps.envs.outputs.rc_suffix}}-windows.zip MeshLab${{ github.event.inputs.version }}d${{steps.envs.outputs.rc_suffix}}-windows/
|
||||
cd meshlab_windows_portable
|
||||
zip -r ../MeshLab${{ github.event.inputs.version }}${{steps.envs.outputs.rc_suffix}}-windows.zip *
|
||||
cd ../meshlab_windows_portable_double
|
||||
zip -r ../MeshLab${{ github.event.inputs.version }}d${{steps.envs.outputs.rc_suffix}}-windows.zip *
|
||||
cd ..
|
||||
|
||||
|
||||
#Create release and upload
|
||||
|
||||
@ -4,7 +4,7 @@ if ([string]::IsNullOrEmpty($cert_path)) {
|
||||
$cert_path = Join-Path $PSScriptRoot ..\..\..\certificate\certificate.pfx
|
||||
}
|
||||
|
||||
$files = Get-ChildItem $path -include ('*.exe', '*.dll', '*.lib') -Recurse
|
||||
$files = Get-ChildItem $path -include ('*.exe', '*.dll') -Recurse
|
||||
|
||||
for ($i=0; $i -lt $files.Count; $i++) {
|
||||
$file = $files[$i].FullName
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user