Skip to content

Commit a20cc5a

Browse files
committed
Support distro "all"
1 parent 02c71e4 commit a20cc5a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

automated_packaging/update_os_package.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ sub get_changelog_for_debian {
6969
`sed -i 's/^pkglatest.*/pkglatest=$VERSION.citus-1/g' pkgvars`;
7070

7171
# Based on the repo, update the package related variables
72-
if ( $DISTRO_VERSION eq "redhat" || $DISTRO_VERSION eq "microsoft") {
72+
if ( $DISTRO_VERSION eq "redhat" || $DISTRO_VERSION eq "microsoft" || $DISTRO_VERSION eq "all") {
7373
`sed -i 's|^Version:.*|Version: $VERSION.citus|g' $github_repo_name.spec`;
7474
`sed -i 's|^Source0:.*|Source0: https:\/\/github.com\/citusdata\/$github_repo_name\/archive\/v$VERSION.tar.gz|g' $github_repo_name.spec`;
7575
`sed -i 's|^%changelog|%changelog\\n* $abbr_day[$wday] $abbr_mon[$mon] $mday $year - $git_name <$microsoft_email> $VERSION.citus-1\\n- Update to $log_repo_name $VERSION\\n|g' $github_repo_name.spec`;
7676
}
77-
if ( $DISTRO_VERSION eq "debian" || $DISTRO_VERSION eq "microsoft") {
77+
if ( $DISTRO_VERSION eq "debian" || $DISTRO_VERSION eq "microsoft" || $DISTRO_VERSION eq "all") {
7878
open( DEB_CLOG_FILE, "<./debian/changelog" ) || die "Debian changelog file not found";
7979
my @lines = <DEB_CLOG_FILE>;
8080
close(DEB_CLOG_FILE);

0 commit comments

Comments
 (0)