Skip to content

Commit

Permalink
Merge pull request #720 from xodio/prerelease-0.12.1
Browse files Browse the repository at this point in the history
Prepare for v0.12.1
  • Loading branch information
nkrkv authored Aug 9, 2017
2 parents a1e8d5e + a3b8d8d commit dd0787b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ before_script: |
script:
- yarn verify
- travis_wait 30 ./tools/travis.sh
- travis_wait 50 ./tools/travis.sh
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ for commit guidelines.

### Bug fixes

* Fix upload failure if a `xod/common-hardware/text-lcd-16x2` or `xod/common-hardware/servo`
node is used. XOD IDE now carries vital Arduino libraries in the distro.
* Fix upload failure if a `xod/common-hardware/text-lcd-16x2` or
`xod/common-hardware/servo` node is used. XOD IDE now carries vital Arduino
libraries in the distro.
* Improve UI responsiveness, fix IDE performance degradation over time. The
problem was in a developer/debugging tool integrated to XOD IDE which is not
very interesting for end-users. The tool is no longer enabled in public
releases.
* Fix bound values propagation in complex scenarios with deeply nested patches.

<a name="0.12.0"></a>
## 0.12.0 (2017-08-07)
Expand Down
13 changes: 10 additions & 3 deletions tools/appveyor.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,27 @@ function Upload-Dist-To-GCS($tag) {
}
}

function Build-Dist() {
# Build again with production settings for the UI part of the IDE
$env:NODE_ENV="production"
yarn run build
yarn run electron-dist
}

$tags=(git tag --points-at $env:APPVEYOR_REPO_COMMIT)

if ($tags) {
yarn run electron-dist
Build-Dist
foreach ($tag in $tags) {
Upload-Dist-To-GCS $tag
}
}

if ($env:APPVEYOR_REPO_BRANCH.StartsWith("prerelease")) {
if ($env:APPVEYOR_REPO_BRANCH.StartsWith("prerelease-")) {
Write-Host 'Building prerelease distributive...' -ForegroundColor Yellow
yarn lerna -- publish --skip-git --skip-npm --cd-version=minor --yes
yarn lerna -- publish --skip-git --skip-npm --canary --yes
$tag=(node -e "console.log('v' + require('./packages/xod-client-electron/package.json').version)")
yarn run electron-dist
Build-Dist
Upload-Dist-To-GCS $tag
}
11 changes: 9 additions & 2 deletions tools/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@ upload_dist_to_gcs() {
--config="$config" --file={} --tag="$tag" \;
}

build_dist() {
# Build again with production settings for the UI part of the IDE
export NODE_ENV=production
yarn run build
yarn run electron-dist
}

tags=$(git tag --points-at "$TRAVIS_COMMIT")
if [ -n "$tags" ]; then
yarn run electron-dist
build_dist
while read -r tag; do
node tools/extract-release-notes.js "${tag#v}" \
<CHANGELOG.md >packages/xod-client-electron/dist/RELEASE_NOTES.md
Expand All @@ -29,6 +36,6 @@ if [[ $TRAVIS_BRANCH == prerelease-* ]]; then
lerna publish --skip-git --skip-npm --cd-version=minor --yes
lerna publish --skip-git --skip-npm --canary --yes
tag=$(node -e "console.log('v' + require('./packages/xod-client-electron/package.json').version)")
yarn run electron-dist
build_dist
upload_dist_to_gcs $tag
fi

0 comments on commit dd0787b

Please sign in to comment.