v0.2.5 - Fix increment_and_push upstream auto-setup and finalize SIGINT shutdown fix

This commit is contained in:
Your Name
2026-03-22 12:18:08 -04:00
parent ed5e4248df
commit b625e0a70a
3 changed files with 26 additions and 8 deletions

View File

@@ -54,11 +54,11 @@ Skills compose by adoption-list order (`10123`) and trigger tags carry runtime e
Didactyl will support local inference, which is very privacy preserving. Remote inference does however have it's advantages, and in those cases Didactyl supports using Bitcoin Lightning and eCash inference providers.
## Current Status — v0.2.4
## Current Status — v0.2.5
**Active build — this project is barely working. Experiment at your own risk.**
> Last release update: v0.2.4 — Fix SIGINT handling so Ctrl-C exits didactyl reliably
> Last release update: v0.2.5 — Fix increment_and_push upstream auto-setup and finalize SIGINT shutdown fix
- Connects to configured relays with auto-reconnect and relay state transition logging
- Publishes configured startup events per relay as each relay becomes connected

View File

@@ -299,11 +299,29 @@ git_commit_and_push_no_tag() {
# Push changes
print_status "Pushing to remote repository..."
if git push > /dev/null 2>&1; then
print_success "Pushed changes"
local current_branch
current_branch=$(git branch --show-current 2>/dev/null || echo "")
if git rev-parse --abbrev-ref --symbolic-full-name "@{u}" > /dev/null 2>&1; then
if git push > /dev/null 2>&1; then
print_success "Pushed changes"
else
print_error "Failed to push changes"
exit 1
fi
else
print_error "Failed to push changes"
exit 1
if [[ -z "$current_branch" ]]; then
print_error "Unable to determine current branch for push"
exit 1
fi
print_warning "No upstream configured for branch '$current_branch'; setting upstream to origin/$current_branch"
if git push -u origin "$current_branch" > /dev/null 2>&1; then
print_success "Pushed changes and configured upstream"
else
print_error "Failed to push changes while configuring upstream"
exit 1
fi
fi
# Push only the new tag to avoid conflicts with existing tags

View File

@@ -12,8 +12,8 @@
// Using DIDACTYL_ prefix to avoid conflicts with nostr_core_lib VERSION macros
#define DIDACTYL_VERSION_MAJOR 0
#define DIDACTYL_VERSION_MINOR 2
#define DIDACTYL_VERSION_PATCH 4
#define DIDACTYL_VERSION "v0.2.4"
#define DIDACTYL_VERSION_PATCH 5
#define DIDACTYL_VERSION "v0.2.5"
// Agent metadata
#define DIDACTYL_NAME "Didactyl"