summaryrefslogtreecommitdiffstats
path: root/.github/scripts
diff options
context:
space:
mode:
Diffstat (limited to '.github/scripts')
-rwxr-xr-x.github/scripts/check-updater.sh1
-rwxr-xr-x.github/scripts/prepare-release-base.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/.github/scripts/check-updater.sh b/.github/scripts/check-updater.sh
index 3df0c9de..73de6d58 100755
--- a/.github/scripts/check-updater.sh
+++ b/.github/scripts/check-updater.sh
@@ -9,6 +9,7 @@ check_successful_update() {
(
netdata_version=$(netdata -v | awk '{print $2}')
updater_version=$(cat packaging/version)
+ echo "Version: netdata '$netdata_version', updater '$updater_version'"
if [ "$netdata_version" = "$updater_version" ]; then
echo "Update successful!"
else
diff --git a/.github/scripts/prepare-release-base.sh b/.github/scripts/prepare-release-base.sh
index 85bcb7a3..c89cc72b 100755
--- a/.github/scripts/prepare-release-base.sh
+++ b/.github/scripts/prepare-release-base.sh
@@ -178,6 +178,7 @@ elif [ "${EVENT_TYPE}" = 'major' ] && [ "${EVENT_VERSION}" != "nightly" ]; then
echo "ref=${EVENT_VERSION}" >> "${GITHUB_OUTPUT}"
echo "type=release" >> "${GITHUB_OUTPUT}"
echo "branch=master" >> "${GITHUB_OUTPUT}"
+ echo "new-branch=${branch_name}" >> "${GITHUB_OUTPUT}"
echo "version=$(tr -d 'v' < packaging/version)" >> "${GITHUB_OUTPUT}"
else
echo '::error::Unrecognized release type or invalid version.'