Skip to content

Commit 46489fc

Browse files
committed
Use bumpversion instead of templating
1 parent a8265f8 commit 46489fc

File tree

12 files changed

+15
-11
lines changed

12 files changed

+15
-11
lines changed

.bumpversion.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,7 @@ replace = __version__ = '{new_version}'
2424
[bumpversion:file:CHANGELOG.rst]
2525
search = Unreleased
2626
replace = {new_version}
27+
28+
[bumpversion:glob:src/compas_fab/ghpython/components/**/code.py]
29+
search = v{current_version}
30+
replace = v{new_version}

src/compas_fab/ghpython/components/Cf_AttachedCollisionMesh/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Add an attached collision mesh to the robot.
33
4-
COMPAS FAB v{{version}}
4+
COMPAS FAB v0.17.0
55
"""
66
from ghpythonlib.componentbase import executingcomponent as component
77

src/compas_fab/ghpython/components/Cf_CollisionMesh/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Add or remove a collision mesh from the planning scene.
33
4-
COMPAS FAB v{{version}}
4+
COMPAS FAB v0.17.0
55
"""
66
from compas_rhino.geometry import RhinoMesh
77
from ghpythonlib.componentbase import executingcomponent as component

src/compas_fab/ghpython/components/Cf_ConstraintsFromPlane/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Create a position and an orientation constraint from a plane calculated for the group's end-effector link.
33
4-
COMPAS FAB v{{version}}
4+
COMPAS FAB v0.17.0
55
"""
66
import math
77

src/compas_fab/ghpython/components/Cf_InverseKinematics/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Calculate the robot's inverse kinematic for a given plane.
33
4-
COMPAS FAB v{{version}}
4+
COMPAS FAB v0.17.0
55
"""
66
from ghpythonlib.componentbase import executingcomponent as component
77

src/compas_fab/ghpython/components/Cf_PlanCartesianMotion/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Calculate a cartesian motion path (linear in tool space).
33
4-
COMPAS FAB v{{version}}
4+
COMPAS FAB v0.17.0
55
"""
66
from ghpythonlib.componentbase import executingcomponent as component
77
from scriptcontext import sticky as st

src/compas_fab/ghpython/components/Cf_PlanMotion/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Calculate a motion path.
33
4-
COMPAS FAB v{{version}}
4+
COMPAS FAB v0.17.0
55
"""
66
from ghpythonlib.componentbase import executingcomponent as component
77
from scriptcontext import sticky as st

src/compas_fab/ghpython/components/Cf_PlanningScene/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Create a planning scene.
33
4-
COMPAS FAB v{{version}}
4+
COMPAS FAB v0.17.0
55
"""
66
from ghpythonlib.componentbase import executingcomponent as component
77
from scriptcontext import sticky as st

src/compas_fab/ghpython/components/Cf_RosConnect/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Connect or disconnect to ROS.
33
4-
COMPAS FAB v{{version}}
4+
COMPAS FAB v0.17.0
55
"""
66
from ghpythonlib.componentbase import executingcomponent as component
77
from scriptcontext import sticky as st

src/compas_fab/ghpython/components/Cf_RosRobot/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Load robot directly from ROS.
33
4-
COMPAS FAB v{{version}}
4+
COMPAS FAB v0.17.0
55
"""
66
from compas_ghpython.artists import RobotModelArtist
77
from ghpythonlib.componentbase import executingcomponent as component

0 commit comments

Comments
 (0)