Skip to content

Provide a single script for Git-based version with configure and nut_version.h contexts#2554

Merged
jimklimov merged 29 commits intonetworkupstools:masterfrom
jimklimov:issue-1949
Jul 27, 2024
Merged

Provide a single script for Git-based version with configure and nut_version.h contexts#2554
jimklimov merged 29 commits intonetworkupstools:masterfrom
jimklimov:issue-1949

Conversation

@jimklimov
Copy link
Member

Also move to 4/5-digit version (for development iterations).

Exploring issue #1949

@jimklimov jimklimov added packaging CI Entries related to continuous integration infrastructure (here CI = tools + scripts + recipes) labels Jul 24, 2024
@jimklimov jimklimov added this to the 2.8.3 milestone Jul 24, 2024
@AppVeyorBot

This comment was marked as resolved.

jimklimov added 22 commits July 26, 2024 14:46
…uctured version from Git (if available) [networkupstools#1949]

Signed-off-by: Jim Klimov <[email protected]>
…ERSION_SEMVER_MACRO when printing version [networkupstools#1949]

Note this is a custom printer, separate from common.c

Signed-off-by: Jim Klimov <[email protected]>
… behavior with NUT_VERSION_IS_RELEASE flag and NUT_VERSION_SEMVER_MACRO string [networkupstools#1949]

Signed-off-by: Jim Klimov <[email protected]>
…with NUT_VERSION_IS_RELEASE macro decisions [networkupstools#1949]

Signed-off-by: Jim Klimov <[email protected]>
…able code paths with NUT_VERSION_IS_RELEASE macro decisions [networkupstools#1949]

Signed-off-by: Jim Klimov <[email protected]>
…tros [networkupstools#1949]

Test:

:; ./clients/upsmon -DDV
Network UPS Tools upsmon 2.8.2.404.365-769-g96f0c9cb3
0.000000     [D1] Network UPS Tools version 2.8.2.404.365-769-g96f0c9cb3
                  (development iteration after 1.1.1) built with clang version 16.0.6...

Signed-off-by: Jim Klimov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Entries related to continuous integration infrastructure (here CI = tools + scripts + recipes) packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants