diff --git a/scripts/release.js b/scripts/release.js
index <HASH>..<HASH> 100644
--- a/scripts/release.js
+++ b/scripts/release.js
@@ -4,7 +4,7 @@ const semver = require('semver');
 const fs = require('fs');
 const _ = require('lodash');
 
-const ONLY_ON_BRANCH = 'master';
+const ONLY_ON_BRANCH = 'origin/master';
 const VERSION_TAG = 'latest';
 const VERSION_INC = 'patch';
Change branch to origin/master for release