Skip to content

Commit

Permalink
installer/mac: version 1.1.0
Browse files Browse the repository at this point in the history
Closes #605
  • Loading branch information
dominic authored and iampogo committed Feb 25, 2017
1 parent 5b99fe2 commit 7b96b3a
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 15 deletions.
4 changes: 4 additions & 0 deletions installer/mac/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Chain Core Mac Installer changelog

## 1.1.0 (February 24, 2017)

* Updated to Chain Core [1.1.0](../../CHANGELOG.md#1.1.0)

## 1.0.2 (December 2, 2016)

* Updated to Chain Core [1.0.2](../../cmd/cored/CHANGELOG.md#1.0.2)
Expand Down
8 changes: 4 additions & 4 deletions installer/mac/Chain Core.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -437,11 +437,11 @@
83FB57281D1B05F000A903A3 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
APP_VERSION = 1.0.2;
APP_VERSION = 1.1.0;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
COMBINE_HIDPI_IMAGES = YES;
DB_VERSION = v1.0;
DB_VERSION = v1.1;
DEVELOPMENT_TEAM = ZA97W57QRY;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
Expand All @@ -463,11 +463,11 @@
83FB57291D1B05F000A903A3 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
APP_VERSION = 1.0.2;
APP_VERSION = 1.1.0;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
COMBINE_HIDPI_IMAGES = YES;
DB_VERSION = v1.0;
DB_VERSION = v1.1;
DEVELOPMENT_TEAM = "";
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
Expand Down
4 changes: 2 additions & 2 deletions installer/mac/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Build instructions

Make sure you are running macOS Sierra (10.12) and have Xcode 8.
Make sure you are running macOS Sierra (10.12) and have Xcode 8.

1) Install [MacPorts](https://www.macports.org/install.php).

Expand Down Expand Up @@ -35,7 +35,7 @@ Make sure you do `make clean` before re-build. Later we will improve this by pat
5. Place `Chain Core.app` in the `updates` folder directly, without extra stuff.
6. Run `tools/update_appcast.rb`.
7. Edit `updates/updates.xml` to specify relevant release notes.
8. Upload the latest `Chain_Core_X.Y.zip`, `Chain_Core.zip`, and `updates.xml` to the server specified in the `tools/update_appcast.rb`.
8. Upload the latest `Chain_Core_X.Y.zip`, `Chain_Core_Latest.zip`, and `updates.xml` to the server specified in the `tools/update_appcast.rb`.


## License
Expand Down
2 changes: 1 addition & 1 deletion installer/mac/tools/build_chain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export PATH="${PATH}:/usr/local/go/bin"

tempBuildPath=`mktemp -d`
trap "rm -rf $tempBuildPath" EXIT
"${CHAIN}/bin/build-cored-release" cmd.cored-1.0.2 $tempBuildPath
"${CHAIN}/bin/build-cored-release" cmd.cored-1.1.0 $tempBuildPath

cp -f $tempBuildPath/cored "${TARGET_DIR}/"
cp -f $tempBuildPath/corectl "${TARGET_DIR}/"
2 changes: 1 addition & 1 deletion installer/mac/tools/update_appcast.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
filename = "Chain Core.app"
version = JSON.load(`plutil -convert json -o - "#{dirpath}/#{filename}/Contents/Info.plist"`)["CFBundleVersion"]
zipname = "Chain_Core_#{version}.zip"
latestname = "Chain_Core.zip"
latestname = "Chain_Core_Latest.zip"

system(%{rm -rf #{dirpath}/#{zipname}})
system(%{ditto -ck --keepParent --rsrc "#{dirpath}/#{filename}" "#{dirpath}/#{zipname}"})
Expand Down
16 changes: 9 additions & 7 deletions installer/mac/updates/updates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,22 @@
<description>Most recent changes with links to updates.</description>
<language>en</language>
<item>
<title>Chain Core Developer Edition 1.0.2</title>
<title>Chain Core Developer Edition 1.1.0</title>
<description>
<![CDATA[
<p><b>NOTE:</b> This update will create a fresh blockchain; please backup
any blockchain data you wish to preserve.
</p>
<ul>
<li>Update to Chain Core 1.0.2</li>
<li>Resolve compatibility issues with OS X Yosemite</li>
<li>Update to Chain Core 1.1.0</li>
</ul>
]]>
</description>
<pubDate>Mon, 05 Dec 2016 17:01:41 -0800</pubDate>
<pubDate>Fri, 24 Feb 2017 16:09:42 -0800</pubDate>
<enclosure
url="https://download.chain.com/mac/Chain_Core_1.0.2.zip"
sparkle:version="1.0.2"
length="53609347"
url="https://download.chain.com/mac/Chain_Core_1.1.0.zip"
sparkle:version="1.1.0"
length="54259396"
type="application/octet-stream"
sparkle:dsaSignature=""
/>
Expand Down

0 comments on commit 7b96b3a

Please sign in to comment.