Skip to content

Commit 6bc70a0

Browse files
claremacraeisidore
andcommitted
v.3.2.0 release
Co-Authored-By: Llewellyn Falco <[email protected]>
1 parent f702cdc commit 6bc70a0

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

build/HowToRelease.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
<a id="top"></a>
2+
# How To Release
3+
14
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
25
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
36
**Contents**
@@ -7,9 +10,6 @@
710

811
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
912

10-
<a id="top"></a>
11-
# How To Release
12-
1313
## Update ApprovalTests.cpp
1414

1515
Preparation:
@@ -24,7 +24,8 @@ Creating the build
2424
* Run `build_hpp.sh` - this updates [the starter project](https://github.com/approvals/ApprovalTests.cpp.StarterProject), tests that it builds, and if so, **commits and pushes it**
2525

2626
Publishing
27-
27+
28+
* Change version number to current version number, and new version number to v.X.X.X
2829
* Commit and push `ApprovalTests.cpp`
2930
* Finish off the upload to github, by uploading the new .hpp, pasting in the release notes, and hitting "Publish release"
3031
* Finish off the release Tweet

build/build_hpp.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
set -e
88
set -o pipefail
99

10-
LAST_VERSION="v.3.1.0"
11-
VERSION="v.3.1.1"
10+
LAST_VERSION="v.3.2.0"
11+
VERSION="v.X.X.X"
1212

1313
OLD_SINGLE_HEADER=ApprovalTests.$LAST_VERSION.hpp
1414
NEW_SINGLE_HEADER=ApprovalTests.$VERSION.hpp
@@ -34,6 +34,7 @@ sed -i "1s|^|// Approval Tests version $VERSION\n|" ../build/releases/$NEW_SINGL
3434

3535
# Make sure starter project folder is clean
3636
pushd $STARTER_PROJECT_DIR
37+
git clean -fx
3738
git reset --hard
3839
popd
3940

build/relnotes_3.2.0.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
* None
33
* **New features**
44
* Added `Approvals::useApprovalsSubdirectory()` which gives the ability to [write approved files to subdirectory](https://github.com/approvals/ApprovalTests.cpp/blob/master/doc/Features.md#Usingsub-directoriesforapprovedfiles)
5-
* **TODO** maybe move this documentation from Features to a more permanent location before publishing?
5+
* Added `Approvals::useAsDefaultReporter()` which gives the ability to [set the default reporter used in your system](https://github.com/approvals/ApprovalTests.cpp/blob/master/doc/Reporters.md#registering-a-default-reporter).
66
* Added `Approvals::verifyExceptionMessage()` which gives the ability to [check the text of exception messages](https://github.com/approvals/ApprovalTests.cpp/blob/master/doc/TestingExceptions.md#top)
77
* `StringWriter` now writes a useful message if the file cannot be opened (for example, because the path contains a non-existent directory)
88
* **Bug fixes**
9-
* None
9+
* Reporters will now launch correctly on cygwin, allowing failing tests to be fixed on this platform.
1010
* **Other changes**
1111
* None

0 commit comments

Comments
 (0)