v0.0.12 - Fix release flow: always increment version in -r mode; include startup confirmations and latest-version installer behavior

This commit is contained in:
Laan Tungir
2026-05-04 07:21:30 -04:00
parent 3efb0edb61
commit ae95ae6859
2 changed files with 3 additions and 9 deletions

View File

@@ -244,13 +244,7 @@ main() {
check_git_repo
if [[ "$RELEASE_MODE" == true ]]; then
if [[ "$VERSION_INCREMENT_EXPLICIT" == true ]]; then
increment_version "$VERSION_INCREMENT_TYPE"
else
LATEST_TAG=$(git tag -l 'v*.*.*' | sort -V | tail -n 1 || echo "v0.0.1")
NEW_VERSION="$LATEST_TAG"
export NEW_VERSION
fi
if git tag "$NEW_VERSION" > /dev/null 2>&1; then
print_success "Created tag: $NEW_VERSION"

View File

@@ -451,8 +451,8 @@ int socket_name_random(char *out, size_t out_len);
/* Version information (auto-updated by build/version tooling) */
#define NSIGNER_VERSION_MAJOR 0
#define NSIGNER_VERSION_MINOR 0
#define NSIGNER_VERSION_PATCH 11
#define NSIGNER_VERSION "v0.0.11"
#define NSIGNER_VERSION_PATCH 12
#define NSIGNER_VERSION "v0.0.12"
/* NSIGNER_HEADERLESS_DECLS_END */