Skip to content

Commit e82f538

Browse files
authored
Merge pull request #198 from man-group/fix-gh-release
Fix pre-release version checks
2 parents 38b1cf5 + 0adfff0 commit e82f538

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.circleci/config.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ commands:
3939
- run:
4040
name: Version checks
4141
command: |
42-
grep -q $VERSION notebooker/version.py || (echo "ERROR: Version number not found in notebooker/_version.py: $VERSION"; exit 1)
42+
set -ex
43+
grep -q $VERSION notebooker/version.py || (echo "ERROR: Version number not found in notebooker/version.py: $VERSION"; exit 1)
4344
grep -q $VERSION CHANGELOG.md || (echo "ERROR: Version number not found in CHANGES.md: $VERSION"; exit 1)
44-
grep -q $VERSION docs/conf.py || (echo "ERROR: Version number not found in docs/source/conf.py: $VERSION"; exit 1)
45+
grep -q $VERSION docs/conf.py || (echo "ERROR: Version number not found in docs/conf.py: $VERSION"; exit 1)
4546
grep -q $VERSION notebooker/web/static/package.json || (echo "ERROR: Version number not found in package.json: $VERSION"; exit 1)
4647
- run:
4748
name: Output useful stuff
@@ -212,7 +213,7 @@ jobs:
212213
PYTHON_VERSION: "3_6"
213214
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts/3_6
214215
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results/3_6
215-
VERSION: 0.6.3
216+
VERSION: 0.7.1
216217
PANDOC_RELEASES_URL: https://github.com/jgm/pandoc/releases
217218
YARN_STATIC_DIR: notebooker/web/static/
218219
IMAGE_NAME: mangroup/notebooker
@@ -228,7 +229,7 @@ jobs:
228229
environment:
229230
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts/3_7
230231
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results/3_7
231-
VERSION: 0.6.3
232+
VERSION: 0.7.1
232233
PANDOC_RELEASES_URL: https://github.com/jgm/pandoc/releases
233234
YARN_STATIC_DIR: notebooker/web/static/
234235
IMAGE_NAME: mangroup/notebooker
@@ -242,7 +243,7 @@ jobs:
242243
environment:
243244
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts/3_8
244245
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results/3_8
245-
VERSION: 0.6.3
246+
VERSION: 0.7.1
246247
PANDOC_RELEASES_URL: https://github.com/jgm/pandoc/releases
247248
YARN_STATIC_DIR: notebooker/web/static/
248249
IMAGE_NAME: mangroup/notebooker
@@ -256,7 +257,7 @@ jobs:
256257
environment:
257258
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts/3_11
258259
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results/3_11
259-
VERSION: 0.6.3
260+
VERSION: 0.7.1
260261
PANDOC_RELEASES_URL: https://github.com/jgm/pandoc/releases
261262
YARN_STATIC_DIR: notebooker/web/static/
262263
IMAGE_NAME: mangroup/notebooker

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
author = "Man Group Quant Tech"
2424

2525
# The full version, including alpha/beta/rc tags
26-
release = "0.6.3"
26+
release = "0.7.1"
2727

2828

2929
# -- General configuration ---------------------------------------------------

notebooker/web/static/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "notebooker",
3-
"version": "0.6.3",
3+
"version": "0.7.1",
44
"description": "Notebooker - Turn notebooks into reports",
55
"dependencies": {
66
"bootstrap-table": "1.20.2",

0 commit comments

Comments
 (0)