mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-30 00:13:03 +00:00
don't use CPack
This commit is contained in:
parent
b67c440e33
commit
beb5fcb90e
1 changed files with 3 additions and 20 deletions
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
|
@ -234,33 +234,16 @@ jobs:
|
||||||
if: ${{ runner.os == 'macOS' }}
|
if: ${{ runner.os == 'macOS' }}
|
||||||
run: |
|
run: |
|
||||||
pushd build
|
pushd build
|
||||||
retries=0
|
|
||||||
while ! cpack; do
|
|
||||||
echo "TRYING AGAIN..."
|
|
||||||
retries=$((retries+1))
|
|
||||||
if [ $retries -gt 5 ]; then
|
|
||||||
echo "OH NO, WE'VE FAILED..."
|
|
||||||
exit 1
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "making dirs"
|
echo "making dirs"
|
||||||
mkdir orig
|
|
||||||
mkdir new
|
mkdir new
|
||||||
echo "attaching"
|
|
||||||
echo "y" | hdiutil attach Furnace-*-Darwin.dmg -readonly -mount required -mountpoint orig
|
echo "TODO: code sign..."
|
||||||
|
|
||||||
echo "copying"
|
echo "copying"
|
||||||
cp -v -r orig/Furnace.app new/Furnace.app
|
cp -v -r orig/furnace.app new/furnace.app
|
||||||
echo "synchronizing"
|
echo "synchronizing"
|
||||||
sync
|
sync
|
||||||
echo "detaching"
|
|
||||||
hdiutil detach orig
|
|
||||||
|
|
||||||
echo "removing orig"
|
|
||||||
rmdir orig
|
|
||||||
rm Furnace-*-Darwin.dmg
|
|
||||||
|
|
||||||
echo "copying extra stuff"
|
echo "copying extra stuff"
|
||||||
cp -v ../LICENSE new/LICENSE.txt
|
cp -v ../LICENSE new/LICENSE.txt
|
||||||
|
|
Loading…
Reference in a new issue