Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Ben Boeckel
SMTK
Commits
2a1a7a53
Commit
2a1a7a53
authored
Jul 14, 2017
by
Bob Obara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: Getting ready to release version 1.1.0
parent
0d735ce2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
CMakeLists.txt
CMakeLists.txt
+1
-1
doc/index.rst
doc/index.rst
+1
-1
smtk/common/testing/python/version.py
smtk/common/testing/python/version.py
+6
-4
No files found.
CMakeLists.txt
View file @
2a1a7a53
...
...
@@ -31,7 +31,7 @@ file(REMOVE ${PROJECT_BINARY_DIR}/SMTKTargets.cmake)
# SMTK version number
set
(
SMTK_VERSION_MAJOR 1
)
set
(
SMTK_VERSION_MINOR
0
)
set
(
SMTK_VERSION_MINOR
1
)
set
(
SMTK_VERSION_PATCH 0
)
set
(
SMTK_VERSION
"
${
SMTK_VERSION_MAJOR
}
.
${
SMTK_VERSION_MINOR
}
.
${
SMTK_VERSION_PATCH
}
"
)
...
...
doc/index.rst
View file @
2a1a7a53
##################################
SMTK: Simulation Modeling Tool Kit
Version 1.
0
.0
Version 1.
1
.0
##################################
.. highlight:: c++
...
...
smtk/common/testing/python/version.py
View file @
2a1a7a53
...
...
@@ -40,12 +40,11 @@ class Version(unittest.TestCase):
readme
.
readline
()
# Skip title
readmeVersion
=
readme
.
readline
().
strip
()
readmeMatch
=
'Version %s'
%
number
self
.
assertEqual
(
readmeVersion
,
readmeMatch
,
"""Mismatched version numbers in CMakeLists.txt and
ReadMe.mkd
.
"""Mismatched version numbers in CMakeLists.txt and
doc/index.rst
.
Do not take version bumps lightheartedly.
Do not remove this test nor the line in the
ReadMe.mkd
Do not remove this test nor the line in the
doc/index.rst
with the explicit version number; it is your friend.
This test exists as a reminder to follow the release
...
...
@@ -55,7 +54,10 @@ class Version(unittest.TestCase):
All tests should be passing and all issues assigned to
the milestone for this release (you **do** have a
milestone for this release, right?) have been closed.
"""
)
From index.rst: %s
From smtkCore (via CMakeLists.txt): %s
"""
%
(
readmeVersion
,
readmeMatch
))
if
__name__
==
'__main__'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment