From acf5d255e216b8583e38339de2850dde552f39f1 Mon Sep 17 00:00:00 2001 From: n01e0 Date: Sat, 30 Dec 2023 03:48:00 +0900 Subject: [PATCH] fix default body --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/config.rs | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dcc5f7a..f4d9ea7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -974,7 +974,7 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppb" -version = "0.2.3" +version = "0.3.0" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 27a76f7..1c57e50 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ppb" -version = "0.2.3" +version = "0.3.0" edition = "2021" authors = ["n01e0 "] license = "MIT" diff --git a/src/config.rs b/src/config.rs index f32237a..df3b26c 100644 --- a/src/config.rs +++ b/src/config.rs @@ -5,7 +5,9 @@ use serde::Deserialize; pub const DEFAULT_ANNOTATION_LABELS: [&str; 2] = ["TODO", "FIXME"]; pub const DEFAULT_TITLE_FORMAT: &str = "[Postpone] {label}: {line}"; pub const DEFAULT_BODY_FORMAT: &str = r#" -Postpone: {label} +This issue was automatically generated by [Postpone bot](https://github.com/n01e0/ppb). + +{label} {file}:{line_number}