v2.0.0 - Version 1.0.0

This commit is contained in:
Your Name
2025-10-31 11:06:27 -04:00
parent ed09bb7370
commit 4c03253b30
3 changed files with 7 additions and 7 deletions

BIN
c-relay-1.0.0.tar.gz Normal file

Binary file not shown.

View File

@@ -423,7 +423,7 @@ create_gitea_release() {
print_success "Created release $NEW_VERSION" print_success "Created release $NEW_VERSION"
# Extract release ID for asset uploads # Extract release ID for asset uploads
local release_id=$(echo "$response" | grep -o '"id":[0-9]*' | cut -d':' -f2) local release_id=$(echo "$response" | grep -o '"id":[0-9]*' | cut -d':' -f2)
return $release_id echo $release_id
elif echo "$response" | grep -q "already exists"; then elif echo "$response" | grep -q "already exists"; then
print_warning "Release $NEW_VERSION already exists" print_warning "Release $NEW_VERSION already exists"
# Try to get existing release ID # Try to get existing release ID
@@ -431,9 +431,9 @@ create_gitea_release() {
if echo "$check_response" | grep -q '"id"'; then if echo "$check_response" | grep -q '"id"'; then
local release_id=$(echo "$check_response" | grep -o '"id":[0-9]*' | cut -d':' -f2) local release_id=$(echo "$check_response" | grep -o '"id":[0-9]*' | cut -d':' -f2)
print_status "Using existing release ID: $release_id" print_status "Using existing release ID: $release_id"
return $release_id echo $release_id
fi fi
return 0 echo 0
else else
print_error "Failed to create release $NEW_VERSION" print_error "Failed to create release $NEW_VERSION"
print_error "Response: $response" print_error "Response: $response"
@@ -444,10 +444,10 @@ create_gitea_release() {
if echo "$check_response" | grep -q '"id"'; then if echo "$check_response" | grep -q '"id"'; then
print_warning "Release exists but creation response was unexpected" print_warning "Release exists but creation response was unexpected"
local release_id=$(echo "$check_response" | grep -o '"id":[0-9]*' | cut -d':' -f2) local release_id=$(echo "$check_response" | grep -o '"id":[0-9]*' | cut -d':' -f2)
return $release_id echo $release_id
else else
print_error "Release does not exist and creation failed" print_error "Release does not exist and creation failed"
return 1 echo 1
fi fi
fi fi
} }

View File

@@ -10,10 +10,10 @@
#define MAIN_H #define MAIN_H
// Version information (auto-updated by build system) // Version information (auto-updated by build system)
#define VERSION_MAJOR 1 #define VERSION_MAJOR 2
#define VERSION_MINOR 0 #define VERSION_MINOR 0
#define VERSION_PATCH 0 #define VERSION_PATCH 0
#define VERSION "v1.0.0" #define VERSION "v2.0.0"
// Relay metadata (authoritative source for NIP-11 information) // Relay metadata (authoritative source for NIP-11 information)
#define RELAY_NAME "C-Relay" #define RELAY_NAME "C-Relay"