File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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);
You can’t perform that action at this time.
0 commit comments