Skip to content

Commit 572b721

Browse files
committed
ChangeLog.md: add ChangeLog going back to 2.2.0
Closes: #10 Signed-off-by: Fabian Groffen <[email protected]>
1 parent 96b1221 commit 572b721

File tree

2 files changed

+78
-2
lines changed

2 files changed

+78
-2
lines changed

ChangeLog.md

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# 2.3 (unreleased master branch)
2+
3+
### New Features
4+
5+
6+
### Bugfixes
7+
8+
9+
10+
# 2.2.3 (31-07-2023)
11+
12+
### New Features
13+
14+
### Bugfixes
15+
16+
* [Issue #57](https://github.com/grobian/html2text/issues/57)
17+
de-escape link hrefs so they can be copy-pasted in a browser
18+
* [Issue #56](https://github.com/grobian/html2text/issues/56)
19+
drop usage of sprintf from the codebase
20+
21+
22+
# 2.2.2 (30-07-2023)
23+
24+
### New Features
25+
26+
### Bugfixes
27+
28+
* Fix building on platforms requiring libiconv
29+
30+
31+
# 2.2.1 (30-07-2023)
32+
33+
### New Features
34+
35+
### Bugfixes
36+
37+
* Fix release script to produce working tarball
38+
39+
40+
# 2.2.0
41+
42+
### New Features
43+
44+
* [Issue #52](https://github.com/grobian/html2text/issues/52)
45+
Support -utf8 flag as alias for compatibility with <2.0.0 releases
46+
* Build-system now uses autotools-based configure and Makefiles
47+
* Suppress xml namespace tags in output (<?xml ...)
48+
* [Issue #12](https://github.com/grobian/html2text/issues/12)
49+
[Issue #26](https://github.com/grobian/html2text/issues/26)
50+
Whitespace normalisation now works over tags, removing extra
51+
and adding missing where appropriate
52+
* Ignore &zwnj; to improve monospace rendering
53+
54+
### Bugfixes
55+
56+
* [PR #48](https://github.com/grobian/html2text/pull/48)
57+
Fix typos in manpage

release.sh

+21-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /usr/bin/env bash
22

3-
# Copyright 2020-2022 Fabian Groffen <[email protected]>
3+
# Copyright 2020-2023 Fabian Groffen <[email protected]>
44
#
55
# This program is free software; you can redistribute it and/or modify
66
# it under the terms of the GNU General Public License as published by
@@ -49,15 +49,21 @@ BUGFIX=${VERSION#${MAJOR}.${MINOR}.} ; BUGFIX=${BUGFIX%%.*}
4949
case "${MODE}" in
5050
major)
5151
NEWVERSION=$((MAJOR + 1)).0.0
52+
FUTUREVERSION=$((MAJOR + 1)).1.0
5253
;;
5354
minor)
5455
NEWVERSION=${MAJOR}.$((MINOR + 1)).0
56+
FUTUREVERSION=${MAJOR}.$((MINOR + 2)).0
5557
;;
5658
bugfix)
5759
NEWVERSION=${MAJOR}.${MINOR}.$((BUGFIX + 1))
60+
FUTUREVERSION=${MAJOR}.$((MINOR + 1)).0
5861
;;
5962
esac
6063

64+
TODAY=$(date +%F)
65+
EUTODAY=$(date +%d-%m-%Y)
66+
6167
# version we store after the release
6268
RECVERSION=${NEWVERSION}.9999_pre
6369

@@ -67,6 +73,18 @@ sed -i.release \
6773
-e '/^AC_INIT/s/\['"${VERSION}"'_pre\]/['"${NEWVERSION}"']/' \
6874
-e "/^AM_MAINTAINER_MODE/s:\[enable\]:[disable]:" \
6975
configure.ac || die
76+
mv ChangeLog.md ChangeLog.md.release
77+
{
78+
echo "# ${FUTUREVERSION} (unreleased master branch)"
79+
echo
80+
echo "### New Features"
81+
echo
82+
echo "### Bugfixes"
83+
echo
84+
echo
85+
echo "# ${NEWVERSION} (${EUTODAY})"
86+
sed -e "1d" ChangeLog.md.release
87+
} > ChangeLog.md
7088
git diff | cat
7189
read -p "OK to commit and create tag v${NEWVERSION}? [yN] " ans
7290
case "${ans}" in
@@ -75,10 +93,11 @@ case "${ans}" in
7593
;;
7694
*)
7795
mv configure.ac.release configure.ac
96+
mv ChangeLog.md.release ChangeLog.md
7897
die "aborting"
7998
;;
8099
esac
81-
rm -f configure.ac.release
100+
rm -f configure.ac.release ChangeLog.md.release
82101
git commit -a --signoff -m "release ${NEWVERSION}" || die
83102
git tag v${NEWVERSION}
84103

0 commit comments

Comments
 (0)