Skip to content

Commit

Permalink
updated version to 0.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
KDesp73 committed Aug 22, 2024
1 parent f4f72f9 commit 0a12dad
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [Unreleased]

### Fixed

- Fixed commit message addition
- fixed git commands
- checking if no commits


## [0.0.10] - 2024-08-22

### Added
Expand Down
2 changes: 1 addition & 1 deletion include/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define CONFIG_H

#define EXECUTABLE_NAME "changelogger"
#define VERSION "0.0.10"
#define VERSION "0.0.11"
#define CHANGELOG_FILE "CHANGELOG.md"
#define CHANGELOG_DIR ".changelog"
#define SQLITE_DB ".changelog/changelog.db"
Expand Down
8 changes: 3 additions & 5 deletions src/commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,12 @@ void add_commits()

char* editor = SELECT_CONFIG_EDITOR;
int status = open_editor(editor);
free(editor);
if(status != 0) PANIC("Aborting adding commits...");

if(!yes_or_no("Continue?")){
INFO("Aborting adding commits...");
remove(TEMP_FILE);
exit(0);
}

Expand Down Expand Up @@ -180,11 +182,7 @@ void add_commits()
}
}

if (end != NULL) {
line = end + 1;
} else {
line = NULL;
}
line = (end != NULL) ? end + 1 : NULL;
}
free(formatted_out);
free(user_edited_commits);
Expand Down
2 changes: 1 addition & 1 deletion todo.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
TODO: expand sqlite.h functionality
TODO: resolve memory leaks
TODO: use existing releases to populate the changelog
TODO: check for sql injections
TODO: add installation commands for autocomplete and man page
DONE: add methods to clib.h
Expand All @@ -21,3 +20,4 @@ DONE: read the config file if it exists
DONE: generate command
DONE: parse CHANGELOG.md into the database
DONE: ability to set releases as YANKED
DONE: use existing releases to populate the changelog

0 comments on commit 0a12dad

Please sign in to comment.