Skip to content

Commit

Permalink
test(ci): test release 4 (#5329)
Browse files Browse the repository at this point in the history
  • Loading branch information
kduret authored Dec 9, 2024
1 parent ee138f7 commit 408466b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/actions/package-delivery/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,19 +131,20 @@ runs:
return;
}
const prBaseRef = pr?.base?.ref || 'unknown';
const prHeadRef = pr?.head?.ref || 'unknown';
let releaseType = '';
switch (true) {
case /^release.+/.test(prBaseRef):
case /^release.+/.test(prHeadRef):
releaseType = 'release';
break;
case /^hotfix.+/.test(prBaseRef):
case /^hotfix.+/.test(prHeadRef):
releaseType = 'hotfix';
break;
default:
core.error(`No packages are promoted because push of branch ${prBaseRef} is not related to a hotfix/release pull request.`);
core.error(`No packages are promoted because push of branch ${prHeadRef} is not related to a hotfix/release pull request.`);
return;
}
console.log(`Release type: ${releaseType}`);
let fromStabilitySubdirectory = 'testing';
if (releaseType === 'hotfix' ) {
Expand Down
2 changes: 0 additions & 2 deletions src/blockchain/hyperledger/exporter/plugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ sub new {
bless $self, $class;

$self->{version} = '0.1';


%{$self->{modes}} = (
'channels' => 'blockchain::hyperledger::exporter::mode::channels',
);
Expand Down

0 comments on commit 408466b

Please sign in to comment.