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

View File

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