Skip to content

Commit

Permalink
revert change for issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Henderson committed Jun 2, 2022
1 parent 4feb22e commit 1b0b105
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,11 @@ jobs:
// get the state of the latest pull request for this repo
const state = pulls.data[0].state;
const mergeSHA = pulls.data[0].merge_commit_sha;
const targetBranchName = pulls.data[0].base.ref;
const IS_RELEASE = (state == 'closed') && (mergeSHA == context.sha) && (targetBranchName.startsWith('release-');
const IS_RELEASE = (state == 'closed') && (mergeSHA == context.sha);
console.log(`State: ${state}`);
console.log(`mergeSHA: ${mergeSHA}`);
console.log(`pushSHA: ${context.sha}`);
console.log(`targetBranchName: ${targetBranchName}`);
console.log(`IS_RELEASE: ${IS_RELEASE}`);
core.exportVariable('IS_RELEASE', `${IS_RELEASE}`);
Expand Down

0 comments on commit 1b0b105

Please sign in to comment.