Skip to content

Commit 1e8f6fd

Browse files
author
Pierre Cauchois
committed
Bump iothub-explorer version and fix npm release script
1 parent f7a827e commit 1e8f6fd

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

build/release/bump_version/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"c_shared_utility_nuget": "1.0.14",
3030
"uamqp_c_nuget": "1.0.15",
3131
"umqtt_c_nuget": "1.0.14",
32-
"iothub-explorer": "1.0.9",
32+
"iothub-explorer": "1.0.10",
3333
"device-explorer": "1.0.9",
3434
"github-release": "v1.0.7"
3535
}

build/release/release_npm/app.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ function getRepoRoot() {
3232
});
3333
}
3434

35-
function ensureCurrentBranchIsDevelop() {
36-
return u.isCurrentBranch('develop')
37-
.then(function (isDevelop) {
38-
return isDevelop ?
35+
function ensureCurrentBranchIsMaster() {
36+
return u.isCurrentBranch('master')
37+
.then(function (isMaster) {
38+
return isMaster ?
3939
null :
40-
Promise.reject(new Error('Please switch to the \'develop\' branch before running this script.'));
40+
Promise.reject(new Error('Please switch to the \'master\' branch before running this script.'));
4141
});
4242
}
4343

@@ -165,9 +165,9 @@ function getTarballUrl(pkg) {
165165
return u.getTarballUrl(remoteName, pkg.stagingBranch());
166166
}
167167

168-
function checkoutDevelop() {
169-
console.log('\nReturning to branch \'develop\'...');
170-
return u.checkoutBranch('develop');
168+
function checkoutMaster() {
169+
console.log('\nReturning to branch \'master\'...');
170+
return u.checkoutBranch('master');
171171
}
172172

173173
function deleteStagingBranches() {
@@ -182,7 +182,7 @@ function deleteStagingBranches() {
182182
}
183183

184184
function cleanup() {
185-
return checkoutDevelop()
185+
return checkoutMaster()
186186
.then(deleteStagingBranches);
187187
}
188188

@@ -204,7 +204,7 @@ if (process.argv.length < 4) {
204204
}
205205

206206
getRepoRoot()
207-
.then(ensureCurrentBranchIsDevelop)
207+
.then(ensureCurrentBranchIsMaster)
208208
.then(ensureThereAreNoUncommittedChanges)
209209
.then(ensureWorkingDirectoryIsClean)
210210
.then(ensureRepoIsTrackingTheGivenRemote)

tools/iothub-explorer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "iothub-explorer",
3-
"version": "1.0.9",
3+
"version": "1.0.10",
44
"description": "Azure IoT Hub Explorer",
55
"author": "Microsoft Corporation",
66
"license": "MIT",

0 commit comments

Comments
 (0)