Skip to content

Commit

Permalink
use target_commitish in case of non-default branch
Browse files Browse the repository at this point in the history
  • Loading branch information
firebelley committed Jan 7, 2020
1 parent 3a3a1f9 commit bf38927
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9590,6 +9590,7 @@ function createRelease(version, exportResults) {
tag_name: versionStr,
repo: (_d = (_c = process.env['GITHUB_REPOSITORY']) === null || _c === void 0 ? void 0 : _c.split('/')[1], (_d !== null && _d !== void 0 ? _d : '')),
name: versionStr,
target_commitish: process.env['GITHUB_SHA'],
});
const promises = [];
for (const exportResult of exportResults) {
Expand Down
1 change: 1 addition & 0 deletions lib/godot.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ function createRelease(version, exportResults) {
tag_name: versionStr,
repo: (_d = (_c = process.env['GITHUB_REPOSITORY']) === null || _c === void 0 ? void 0 : _c.split('/')[1], (_d !== null && _d !== void 0 ? _d : '')),
name: versionStr,
target_commitish: process.env['GITHUB_SHA'],
});
const promises = [];
for (const exportResult of exportResults) {
Expand Down
Binary file modified node_modules/@zeit/ncc/dist/ncc/cli.js.cache
Binary file not shown.
Binary file modified node_modules/@zeit/ncc/dist/ncc/index.js.cache
Binary file not shown.
Binary file modified node_modules/@zeit/ncc/dist/ncc/loaders/relocate-loader.js.cache
Binary file not shown.
Binary file modified node_modules/@zeit/ncc/dist/ncc/loaders/shebang-loader.js.cache
Binary file not shown.
1 change: 1 addition & 0 deletions src/godot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ async function createRelease(version: SemVer, exportResults: ExportResult[]): Pr
tag_name: versionStr,
repo: process.env['GITHUB_REPOSITORY']?.split('/')[1] ?? '',
name: versionStr,
target_commitish: process.env['GITHUB_SHA'],
});

const promises: Promise<void>[] = [];
Expand Down

0 comments on commit bf38927

Please sign in to comment.