Skip to content

Commit 6126f48

Browse files
Merge pull request #812 from Azure/master
Merge publishing fix to stable
2 parents f0d3a43 + 606888a commit 6126f48

File tree

7 files changed

+164
-296
lines changed

7 files changed

+164
-296
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ addons:
88
- libgnome-keyring-dev
99
- icnsutils
1010
- graphicsmagick
11+
- libreadline6
1112
- xz-utils
1213
- rpm
1314
- bsdtar
15+
1416
node_js:
15-
- '6.9.4'
17+
- '6.11.4'
1618
python:
1719
- "3.6"
1820

@@ -30,6 +32,9 @@ matrix:
3032
- virtualenv env -p python3
3133
- source env/bin/activate
3234
- python3 --version
35+
- nvm install 6.11.4
36+
- nvm use 6.11.4
37+
3338
- language: node_js
3439
os: linux
3540
before_install:
@@ -59,6 +64,7 @@ branches:
5964
only:
6065
- master
6166
- stable
67+
- fix/publish
6268

6369
cache:
6470
directories:

app/components/base/form/form-picker/form-picker.component.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ export class FormPickerComponent implements ControlValueAccessor, Validator {
5656
this.nestedValue.setValue(null);
5757
const page = this._getPage();
5858
this.hasValue = false;
59+
60+
if (this._propagateChange) {
61+
this._propagateChange(null);
62+
}
63+
5964
if (page) {
6065
page.formGroup.reset();
6166
}

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ install:
2424
# about it being out of date.
2525
- "pip install --disable-pip-version-check --user --upgrade pip"
2626

27-
- ps: Install-Product node 6.9.1 x64
27+
- ps: Install-Product node 6.11.4 x64
2828
- npm install -g npm -s
2929
- npm install -g yarn -s
3030
- yarn install --force

electron-builder.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ nsis:
4343

4444
# Linux configuration
4545
linux:
46+
category: Development
4647
target:
4748
- "AppImage"
4849
- "deb"
@@ -54,3 +55,4 @@ directories:
5455

5556
publish:
5657
provider: "github"
58+
# releaseType: draft

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"css-loader": "~0.28.0",
7272
"devtron": "^1.4.0",
7373
"electron": "~1.6.15",
74-
"electron-builder": "~19.37.2",
74+
"electron-builder": "~19.24.1",
7575
"extract-text-webpack-plugin": "~3.0.1",
7676
"file-loader": "~1.1.5",
7777
"html-webpack-plugin": "^2.28.0",
@@ -127,7 +127,7 @@
127127
"core-decorators": "~0.20.0",
128128
"d3": "~4.10.2",
129129
"download": "~6.2.5",
130-
"electron-updater": "^2.10.0",
130+
"electron-updater": "~2.15.0",
131131
"element-resize-detector": "^1.1.9",
132132
"extract-zip": "~1.6.5",
133133
"font-awesome": "^4.7.0",

scripts/travis/build-and-test.sh

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,24 @@ if [ "${TRAVIS_BRANCH}" = "stable" ]; then
1919
# Check third party notices is up to date
2020
npm run ts -s scripts/lca/generate-third-party -- --check
2121
fi
22-
22+
# TODO revert fix/publish to stable
2323
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] || [ "${TRAVIS_BRANCH}" = "stable" ]; then
2424

2525
# Build for production
2626
npm run -s build:prod
2727
npm run -s build-python
28-
npm run package -- --publish never # TODO replace with this
28+
29+
# Only package if on stable branch
30+
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "stable" ]; then
31+
npm run package -- --publish always --draft
32+
else
33+
npm run package -- --publish never # TODO replace with this
34+
fi
35+
ls release
2936
else
3037
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then # Only run the CI checks on the linux build
3138
# Normal build
3239
npm run build -s
3340
fi
3441
fi
3542

36-
# Only package if on stable branch
37-
if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "stable" ]; then
38-
npm run package -- --publish always --draft
39-
fi

0 commit comments

Comments
 (0)