Skip to content

Commit

Permalink
Update release files for tag: latest
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinpinto committed Oct 19, 2019
1 parent f928c83 commit dcd7199
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10497,6 +10497,7 @@ exports.getChangelogOptions = () => __awaiter(void 0, void 0, void 0, function*
core.debug(`Changelog options: ${JSON.stringify(defaultOpts)}`);
return defaultOpts;
});
// istanbul ignore next
exports.octokitLogger = (...args) => {
return args
.map(arg => {
Expand All @@ -10507,6 +10508,9 @@ exports.octokitLogger = (...args) => {
if (arg.file) {
arg.file = '== raw file buffer info removed ==';
}
if (arg.data) {
arg.data = '== raw file buffer info removed ==';
}
return JSON.stringify(arg);
})
.reduce((acc, val) => `${acc} ${val}`, '');
Expand Down Expand Up @@ -15759,6 +15763,7 @@ const getCommitsSinceRelease = (client, tagInfo, currentSha) => __awaiter(void 0
core.info(`Successfully retrieved ${resp.data.commits.length} commits between ${previousReleaseRef} and ${currentSha}`);
}
catch (err) {
// istanbul ignore next
core.warning(`Could not find any commits between ${previousReleaseRef} and ${currentSha}`);
}
let commits = [];
Expand Down Expand Up @@ -15872,6 +15877,8 @@ exports.main = () => __awaiter(void 0, void 0, void 0, function* () {
body: changelog,
});
yield exports.uploadReleaseArtifacts(client, releaseUploadUrl, args.files);
core.debug(`Exporting environment variable AUTOMATIC_RELEASES_TAG with value ${releaseTag}`);
core.exportVariable('AUTOMATIC_RELEASES_TAG', releaseTag);
}
catch (error) {
core.setFailed(error.message);
Expand Down

0 comments on commit dcd7199

Please sign in to comment.