Skip to content

Commit dc5d8a2

Browse files
committed
Fix build scripts to make a symlink before signing
1 parent d886644 commit dc5d8a2

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

tools/release_beta.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ function Build {
4949
# since Sparkle won't accept a name change.
5050
rm -rf iTerm.app
5151
mv iTerm2.app iTerm.app
52-
pushd iTerm.app/Contents/MacOS
53-
ln -s iTerm2 iTerm
54-
popd
5552
zip -ry iTerm2-${NAME}.zip iTerm.app
5653

5754
# Update the list of changes
@@ -84,7 +81,13 @@ ORIG_DIR=`pwd`
8481
echo "Build deployment release"
8582
make clean
8683
make release
87-
Build Deployment "" "OS 10.8+" "This is the recommended beta build for most users. It contains a bunch of bug fixes, including fixes for some crashers." "" "--deep"
84+
85+
BUILDTYPE=Deployment
86+
pushd build/$BUILDTYPE/iTerm.app/Contents/MacOS
87+
ln -s iTerm2 iTerm
88+
popd
89+
90+
Build $BUILDTYPE "" "OS 10.8+" "This is the recommended beta build for most users. It contains a bunch of bug fixes, including fixes for some crashers." "" "--deep"
8891

8992
echo Update the linky in the version3 release notes page
9093
sleep 2

tools/release_preview.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ function Build {
4949
# since Sparkle won't accept a name change.
5050
rm -rf iTerm.app
5151
mv iTerm2.app iTerm.app
52-
pushd iTerm.app/Contents/MacOS
53-
ln -s iTerm2 iTerm
54-
popd
5552
zip -ry iTerm2-${NAME}.zip iTerm.app
5653

5754
# Update the list of changes
@@ -84,7 +81,13 @@ ORIG_DIR=`pwd`
8481
echo "Build deployment release"
8582
make clean
8683
make preview
87-
Build Deployment "-preview" "OS 10.8+" "This is the recommended beta build for most users. It contains a bunch of bug fixes, including fixes for some crashers." "" "--deep"
84+
85+
BUILDTYPE=Deployment
86+
pushd build/$BUILDTYPE/iTerm.app/Contents/MacOS
87+
ln -s iTerm2 iTerm
88+
popd
89+
90+
Build $BUILDTYPE "-preview" "OS 10.8+" "This is the recommended beta build for most users. It contains a bunch of bug fixes, including fixes for some crashers." "" "--deep"
8891

8992
#set -x
9093

0 commit comments

Comments
 (0)