build update
This commit is contained in:
13
build.sh
13
build.sh
@@ -98,6 +98,19 @@ increment_version() {
|
||||
# Create new git tag
|
||||
if git tag "$NEW_VERSION" 2>/dev/null; then
|
||||
print_success "Created new version tag: $NEW_VERSION"
|
||||
|
||||
# Push changes and tags to remote repository
|
||||
if git push ssh://ubuntu@laantungir.net:/home/ubuntu/git_repos/otp 2>/dev/null; then
|
||||
print_success "Pushed changes to remote repository"
|
||||
else
|
||||
print_warning "Failed to push changes to remote repository"
|
||||
fi
|
||||
|
||||
if git push ssh://ubuntu@laantungir.net:/home/ubuntu/git_repos/otp --tags 2>/dev/null; then
|
||||
print_success "Pushed tags to remote repository"
|
||||
else
|
||||
print_warning "Failed to push tags to remote repository"
|
||||
fi
|
||||
else
|
||||
print_warning "Tag $NEW_VERSION already exists - using existing version"
|
||||
NEW_VERSION=$LATEST_TAG
|
||||
|
||||
5
otp.c
5
otp.c
@@ -1042,11 +1042,6 @@ int decrypt_text(const char* pad_identifier, const char* encrypted_message) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!found_begin) {
|
||||
printf("Error: Invalid message format - missing BEGIN header\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Now we have the pad chksum from the message, construct filename
|
||||
char pad_path[MAX_HASH_LENGTH + 20];
|
||||
char state_path[MAX_HASH_LENGTH + 20];
|
||||
|
||||
Reference in New Issue
Block a user