diff --git a/increment_and_push.sh b/increment_and_push.sh index 477d706..92184f0 100755 --- a/increment_and_push.sh +++ b/increment_and_push.sh @@ -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 + increment_version "$VERSION_INCREMENT_TYPE" if git tag "$NEW_VERSION" > /dev/null 2>&1; then print_success "Created tag: $NEW_VERSION" diff --git a/src/main.c b/src/main.c index b3cd38f..120efef 100644 --- a/src/main.c +++ b/src/main.c @@ -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 */