diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2022-10-30 04:21:13 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2022-10-30 04:21:13 +0300 |
commit | 3a7aef28e96c95e4682ed2272116d4518e75ec08 (patch) | |
tree | 69d6a8a9eb95fdad123a28904eec537449665678 /build | |
parent | 6dc26f74342411760a5905860ef863ece03a3239 (diff) |
Improve the scripts
Diffstat (limited to 'build')
-rw-r--r-- | build/createRelease.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build/createRelease.sh b/build/createRelease.sh index e2dbb42..128ee59 100644 --- a/build/createRelease.sh +++ b/build/createRelease.sh @@ -113,9 +113,9 @@ rm -rf "$projectDir/bin/$buildWith/net$netVersion/$runtime" 2>/dev/null rm -rf "$projectDir/obj/$buildWith/net$netVersion/$runtime" 2>/dev/null echo "5. Setting Permissions" -chmod -fv a+x "$publishRuntimeDir/UVtools" -chmod -fv a+x "$publishRuntimeDir/UVtoolsCmd" -chmod -fv a+x "$publishRuntimeDir/UVtools.sh" +chmod -fv 775 "$publishRuntimeDir/UVtools" +chmod -fv 775 "$publishRuntimeDir/UVtoolsCmd" +chmod -fv 775 "$publishRuntimeDir/UVtools.sh" if [[ "$runtime" == win-* ]]; then echo "6. Windows should be published in a windows machine!" @@ -170,7 +170,7 @@ else tempDir="$(mktemp -d /tmp/uvtoolspublish.XXXXXX)" # Allow parallel publishes appImageFile="appimagetool-x86_64" wget -O "$tempDir/appimagetool-x86_64.AppImage" "https://github.com/AppImage/AppImageKit/releases/download/continuous/$appImageFile.AppImage" - chmod a+x "$tempDir/$appImageFile.AppImage" + chmod 775 "$tempDir/$appImageFile.AppImage" # Extract AppImage so it can be run in Docker containers and on machines that don't have FUSE installed # Note: Extracting requires libglib2.0-0 to be installed cd "$tempDir" @@ -179,7 +179,7 @@ else # Create the AppImage ARCH=x86_64 "$tempDir/squashfs-root/AppRun" "$linuxAppDir" "$linuxAppImage" - chmod a+x "$linuxAppImage" + chmod -fv 775 "$linuxAppImage" # Remove the base publish if able #[ "$keepNetPublish" == false ] && rm -rf "$publishRuntimeDir" 2>/dev/null |