-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use latest release from beginning #16
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# Script to automate building latest release of Aseprite (it can be release or beta build) | ||
# This is for macOS build version. | ||
|
||
POSTFIXPATH_SDKROOT=Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk | ||
POSTFIXPATH_SDKROOT=Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk | ||
CCPATH_TOOLCHAIN=Toolchains/XcodeDefault.xctoolchain/usr/bin/cc | ||
CXXPATH_TOOLCHAIN=Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ | ||
SDK_ROOT=`xcode-select -p` | ||
|
@@ -69,8 +69,8 @@ fi | |
# change to aseprite directory | ||
cd aseprite | ||
|
||
# checkout master branch | ||
git checkout master | ||
# checkout the latest tag (release or beta) | ||
git checkout `git describe --tags` | ||
|
||
# clear the current dirty state of git repository | ||
git reset --hard | ||
|
@@ -123,7 +123,7 @@ export PATH="${PWD}/depot_tools:${PATH}" | |
cd skia | ||
|
||
# get proper skia's branch to compile | ||
SKIA_BRANCH=$(curl "https://raw.githubusercontent.com/aseprite/aseprite/master/INSTALL.md" | grep "aseprite-m[0-9][0-9]" | sed -n '1p' | perl -n -e '/(aseprite-m\d\d)/ && print $1') | ||
SKIA_BRANCH=$(curl "https://raw.githubusercontent.com/aseprite/aseprite/main/INSTALL.md" | grep "aseprite-m[0-9][0-9]" | sed -n '1p' | perl -n -e '/(aseprite-m\d\d)/ && print $1') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is arguably still wrong, since it's not using the tag. I think it's probably okay for now. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks. This one is good. aseprite really changes the structure of branches included separation of release and beta version. Edit: |
||
git checkout $SKIA_BRANCH | ||
|
||
python tools/git-sync-deps | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be fine to use the current installed SDK, rather than requiring an old one...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm skeptical about this as it relates to #11 , I think we should not touch this for now.