netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Public demo: https://demo.netbox.dev
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.39k stars 2.49k forks source link

Update 'Upgrade' to include fetching tags #16387

Open cruse1977 opened 1 month ago

cruse1977 commented 1 month ago

Change Type

Correction

Area

Installation/upgrade

Proposed Changes

In Upgrading NetBox, we include the following in 'checking out an old release':

sudo git checkout v2.11.11

However to go from ex: 3.7.1 to 3.7.8; the installed version won't include tags, likewise there isn't a section for upgrading to none latest.

Should the above title change to 'Checking out a specific release' and the commands be:

 sudo git fetch --tags
 sudo git checkout v3.7.8

The above permitting upgrading in the current track as well as older versions

jeffgdotorg commented 1 month ago

Good capture @cruse1977. I can assign to you for PR if you like.