diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2017-08-04 11:42:41 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2017-08-04 14:18:06 +1000 |
commit | 264a6cdcc3e8352798ba46074e75185c2284f61f (patch) | |
tree | bb8aa0b731acb1469933422b1fea4f3b7214419d /openpower/scripts | |
parent | e78cd420f27a9fc8d57e4c9cc2059a58d8a2dec1 (diff) | |
download | talos-op-build-264a6cdcc3e8352798ba46074e75185c2284f61f.tar.gz talos-op-build-264a6cdcc3e8352798ba46074e75185c2284f61f.zip |
release-notes: Don't try to clone witherspoon-foo-xml
The proliferation of witherspoon flavours has confused the release-notes
script again, causing it to attempt to clone the nonexistent
witherspoon-{redbud,sequoia}-xml repo.
Handle these extra variants to make sure we only clone the actual
witherspoon-xml repository.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'openpower/scripts')
-rwxr-xr-x | openpower/scripts/release-notes | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/openpower/scripts/release-notes b/openpower/scripts/release-notes index 138c28e8..50b659f9 100755 --- a/openpower/scripts/release-notes +++ b/openpower/scripts/release-notes @@ -124,6 +124,12 @@ foreach my $p (@common_platforms) { next if $p =~ /^zz$/; next if $p =~ /mambo/; next if $p =~ /redbud/; + next if $p =~ /pseries/; + next if $p =~ /witherspoon-redbud/; + if ($p =~ /witherspoon-sequoia/) { + $p = "witherspoon"; + $witherspoon_insanity = 1; + } $repos->{"$p-xml"} = { REPO => "http://github.com/open-power/$p-xml" , DIR => "openpower/package/$p-xml" }; } @@ -148,8 +154,11 @@ foreach my $p (@end_platforms) { if ($witherspoon_insanity) { $dbh->do("ALTER TABLE 'end_witherspoon-sequoia_manifest' RENAME to end_witherspoon_manifest"); + $dbh->do("ALTER TABLE 'begin_witherspoon-sequoia_manifest' RENAME to begin_witherspoon_manifest"); @end_platforms = grep { $_ != 'witherspoon-sequoia' } @end_platforms; + @begin_platforms = grep { $_ != 'witherspoon-sequoia' } @begin_platforms; push @end_platforms, 'witherspoon'; + push @begin_platforms, 'witherspoon'; push @common_platforms, 'witherspoon'; } |