diff options
Diffstat (limited to 'scripts/postpublish_utils.js')
-rw-r--r-- | scripts/postpublish_utils.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/postpublish_utils.js b/scripts/postpublish_utils.js index 9603827db..7ce01189c 100644 --- a/scripts/postpublish_utils.js +++ b/scripts/postpublish_utils.js @@ -50,12 +50,12 @@ module.exports = { return releaseName; }, standardPostPublishAsync: function(subPackageName) { - return getLatestTagAndVersionAsync(subPackageName) + return this.getLatestTagAndVersionAsync(subPackageName) .then(function(result) { - const releaseName = getReleaseName(subPackageName, result.version); + const releaseName = this.getReleaseName(subPackageName, result.version); const assets = []; - return publishReleaseNotesAsync(result.tag, releaseName, assets); - }) + return this.publishReleaseNotesAsync(result.tag, releaseName, assets); + }.bind(this)) .catch(function(err) { throw err; }); |