2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-28 21:07:55 +00:00

Rename LM_SENSORS_VER to LM_VERSION

Rename LM_SENSORS_VER to LM_VERSION to match the version constant in
version.h. Also, use the "+git" suffix in the version as we are
between releases.
This commit is contained in:
Ondřej Lysoněk 2019-10-17 16:18:23 +02:00
parent 5c900c7e85
commit f1e1a7607c
3 changed files with 7 additions and 7 deletions

View File

@ -10,8 +10,7 @@ Release steps:
- Update the CHANGES file (set version and release date)
- Update doc/developers/lm_sensors.lsm (Version, Entered-date and Primary-site)
- Update doc/libsensors-API.txt and SENSORS_API_VERSION in lib/sensors.h
- Update version.h
- grep for LM_SENSORS_VER and update values of the constant
- grep for LM_VERSION and update values of the constants
- Commit
- Tag the release using git:
git tag V3-x-x
@ -23,6 +22,7 @@ After release, remember to:
https://github.com/lm-sensors/lm-sensors/archive/V3-x-x/lm-sensors-3-x-x.tar.gz
- Add a news item to https://hwmon.wiki.kernel.org/lm_sensors
- Announce on the lm-sensors mailing list
- Add "+git" to version.h and commit
- grep for LM_VERSION and add "+git" to the values of the constants
- Commit
- Send lm_sensors.lsm to the LSM by mailing it to lsm@qqx.org with the
subject `add' (no quotes)

View File

@ -38,7 +38,7 @@ foreach ('/usr/sbin', '/usr/local/sbin', '/sbin') {
#########################
use constant NO_CACHE => 1;
use constant LM_SENSORS_VER => '3.5.0';
use constant LM_VERSION => '3.5.0+git';
use vars qw(@pci_adapters @chip_ids @ipmi_ifs @non_hwmon_chip_ids
$i2c_addresses_to_scan @i2c_byte_cache %opt);
@ -7508,7 +7508,7 @@ sub main
system("/sbin/service", "lm_sensors", "stop");
}
print "# sensors-detect version ".LM_SENSORS_VER."\n";
print "# sensors-detect version ".LM_VERSION."\n";
initialize_dmi_data();
print_dmi_summary();
print_kernel_version();

View File

@ -29,7 +29,7 @@
#
#
LM_SENSORS_VER='3.5.0'
LM_VERSION='3.5.0+git'
PIDFILE="/var/run/fancontrol.pid"
if [ -f "$PIDFILE" ]
@ -47,7 +47,7 @@ then
exit 1
fi
echo "# pwmconfig version $LM_SENSORS_VER"
echo "# pwmconfig version $LM_VERSION"
echo 'This program will search your sensors for pulse width modulation (pwm)'
echo 'controls, and test each one to see if it controls a fan on'
echo 'your motherboard. Note that many motherboards do not have pwm'