Skip to content

Commit c9892c6

Browse files
authored
Merge pull request math-comp#1412 from CohenCyril/make-entry
remove attribution from make-entry
2 parents 4025387 + e3d7cb8 commit c9892c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/changelog/make-entry.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ printf "Fixes? (space separated list of bug numbers)\n"
1818
read -r fixes_list
1919

2020
fixes_string="$(echo $fixes_list | sed 's/ /~ and /g; s,\([0-9][0-9]*\),[#\1](https://github.com/math-comp/math-comp/issues/\1),g' | tr '~' '\n')"
21-
if [ ! -z "$fixes_string" ]; then fixes_string="$(printf '\n fixes %s,' "$fixes_string")"; fi
21+
if [ ! -z "$fixes_string" ]; then fixes_string="$(printf ',\n fixes %s' "$fixes_string")"; fi
2222

2323
# shellcheck disable=SC2016
2424
# the ` are regular strings, this is intended
2525
# use %s for the leading - to avoid looking like an option (not sure
2626
# if necessary but doesn't hurt)
27-
printf '%s in `%s`\n + Describe your change here but do not end with a period\n for instance: lemmas `lem1`, `lem2` and `lem3`\n ([#%s](https://github.com/math-comp/math-comp/pull/%s),%s\n by %s).\n' - "$in_file" "$PR" "$PR" "$fixes_string" "$(git config user.name)" > "$where"
27+
printf '%s in `%s`\n + Describe your change here but do not end with a period\n for instance: lemmas `lem1`, `lem2` and `lem3`\n ([#%s](https://github.com/math-comp/math-comp/pull/%s)%s).\n' - "$in_file" "$PR" "$PR" "$fixes_string" > "$where"
2828

2929
printf 'Name of created changelog file:\n'
3030
printf '%s\n' "$where"

0 commit comments

Comments
 (0)