Skip to content

Commit 00df81a

Browse files
authored
Merge pull request hestiacp#2276 from kriskenn/upgrade-notice
Add link to changelog in notification panel for release builds
2 parents de2a825 + 7e70bd1 commit 00df81a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

func/upgrade.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ upgrade_complete_message() {
117117
echo "please take a moment to report it to us on GitHub at the URL below: "
118118
echo "https://github.com/hestiacp/hestiacp/issues "
119119
echo
120+
echo "Read the release notes to learn about new fixes and features: "
121+
echo "https://github.com/hestiacp/hestiacp/blob/release/CHANGELOG.md "
122+
echo
120123
echo "We hope that you enjoy using this version of Hestia Control Panel, "
121124
echo "have a wonderful day! "
122125
echo
@@ -183,7 +186,7 @@ upgrade_send_notification_to_panel () {
183186
$BIN/v-add-user-notification admin 'Thank you for testing Hestia Control Panel '$new_version'.' '<b>Please share your feedback with our development team through our <a href="https://forum.hestiacp.com" target="_new">discussion forum</a>.<br><br>Found a bug? Report it on <a href="https://github.com/hestiacp/hestiacp/issues" target="_new"><i class="fab fa-github"></i> GitHub</a>!</b><br><br><i class="fas fa-heart status-icon red"></i> The Hestia Control Panel development team'
184187
else
185188
# Send normal upgrade complete notification for stable releases
186-
$BIN/v-add-user-notification admin 'Upgrade complete' 'Your server has been updated to Hestia Control Panel <b>v'$new_version'</b>.<br><br>Please tell us about any bugs or issues by opening an issue report on <a href="https://github.com/hestiacp/hestiacp/issues" target="_new"><i class="fab fa-github"></i> GitHub</a>.<br><br><b>Have a wonderful day!</b><br><br><i class="fas fa-heart status-icon red"></i> The Hestia Control Panel development team'
189+
$BIN/v-add-user-notification admin 'Upgrade complete' 'Hestia Control Panel has been updated to <b>v'$new_version'</b>.<br><a href="https://github.com/hestiacp/hestiacp/blob/release/CHANGELOG.md" target="_new">View release notes</a><br><br>Please tell us about any bugs or issues by opening a new issue report on <a href="https://github.com/hestiacp/hestiacp/issues" target="_new"><i class="fab fa-github"></i> GitHub</a>.<br><br><b>Have a wonderful day!</b><br><br><i class="fas fa-heart status-icon red"></i> The Hestia Control Panel development team'
187190
fi
188191
}
189192

0 commit comments

Comments
 (0)