Skip to content

Print NetBox version when running upgrade.sh #14507

@markkuleinio

Description

@markkuleinio

NetBox version

v3.7-beta1

Feature type

New functionality

Proposed functionality

When running upgrade.sh it would be beneficial to see what is the actual NetBox version that is being prepared.

Something like

echo "NetBox version is $(grep ^VERSION netbox/netbox/settings.py | cut -d\' -f2)"
NetBox version is 3.7-beta1

would maybe be enough somewhere in the beginning of upgrade.sh.

Use case

Sometimes there is confusion when symlinking or pulling the versions here and there and running upgrade.sh, what is the actual codebase that is being activated.

Database changes

None

External dependencies

None

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions