diff --git a/atom/browser/resources/mac/Info.plist b/atom/browser/resources/mac/Info.plist
index 9f8c8173a919..3313eba36bb9 100644
--- a/atom/browser/resources/mac/Info.plist
+++ b/atom/browser/resources/mac/Info.plist
@@ -17,9 +17,9 @@
CFBundleIconFile
electron.icns
CFBundleVersion
- 1.8.1
+ 1.8.2
CFBundleShortVersionString
- 1.8.1
+ 1.8.2
LSApplicationCategoryType
public.app-category.developer-tools
LSMinimumSystemVersion
diff --git a/atom/browser/resources/win/atom.rc b/atom/browser/resources/win/atom.rc
index 38b94f86f9b3..0c4e97f97def 100644
--- a/atom/browser/resources/win/atom.rc
+++ b/atom/browser/resources/win/atom.rc
@@ -56,8 +56,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,8,1,0
- PRODUCTVERSION 1,8,1,0
+ FILEVERSION 1,8,2,1
+ PRODUCTVERSION 1,8,2,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -74,12 +74,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "GitHub, Inc."
VALUE "FileDescription", "Electron"
- VALUE "FileVersion", "1.8.1"
+ VALUE "FileVersion", "1.8.2"
VALUE "InternalName", "electron.exe"
VALUE "LegalCopyright", "Copyright (C) 2015 GitHub, Inc. All rights reserved."
VALUE "OriginalFilename", "electron.exe"
VALUE "ProductName", "Electron"
- VALUE "ProductVersion", "1.8.1"
+ VALUE "ProductVersion", "1.8.2"
VALUE "SquirrelAwareVersion", "1"
END
END
diff --git a/atom/common/atom_version.h b/atom/common/atom_version.h
index a7f2f8099e78..c80b709304a6 100644
--- a/atom/common/atom_version.h
+++ b/atom/common/atom_version.h
@@ -7,7 +7,7 @@
#define ATOM_MAJOR_VERSION 1
#define ATOM_MINOR_VERSION 8
-#define ATOM_PATCH_VERSION 1
+#define ATOM_PATCH_VERSION 2
#define ATOM_VERSION_IS_RELEASE 1
diff --git a/electron.gyp b/electron.gyp
index ff7ddf6952fb..240c50d5bc27 100644
--- a/electron.gyp
+++ b/electron.gyp
@@ -4,7 +4,7 @@
'product_name%': 'Electron',
'company_name%': 'GitHub, Inc',
'company_abbr%': 'github',
- 'version%': '1.8.1',
+ 'version%': '1.8.2-beta.1',
'js2c_input_dir': '<(SHARED_INTERMEDIATE_DIR)/js2c',
},
'includes': [
diff --git a/package.json b/package.json
index 39d4354f01b3..166295ce5680 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "electron",
- "version": "1.8.1",
+ "version": "1.8.2-beta.1",
"repository": "https://github.com/electron/electron",
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
"devDependencies": {
diff --git a/script/upload-to-github.js b/script/upload-to-github.js
index 45b82a285b27..e6ae78cb9bd2 100644
--- a/script/upload-to-github.js
+++ b/script/upload-to-github.js
@@ -28,7 +28,19 @@ function uploadToGitHub () {
if (retry < 4) {
console.log(`Error uploading ${fileName} to GitHub, will retry. Error was:`, err)
retry++
- uploadToGitHub()
+ github.repos.getAssets(githubOpts).then(assets => {
+ let existingAssets = assets.data.filter(asset => asset.name === fileName)
+ if (existingAssets.length > 0) {
+ console.log(`${fileName} already exists; will delete before retrying upload.`)
+ github.repos.deleteAsset({
+ owner: 'electron',
+ repo: 'electron',
+ id: existingAssets[0].id
+ }).then(uploadToGitHub).catch(uploadToGitHub)
+ } else {
+ uploadToGitHub()
+ }
+ })
} else {
console.log(`Error retrying uploading ${fileName} to GitHub:`, err)
process.exitCode = 1