 
     # Version bumping
     bump:
-      options: part: "patch"
+      options:
+        part: "patch"
+        onBumped: ->
+          grunt.task.run("regex-replace")
       files: ["package.json", "component.json"]
 
     watch:

  grunt.registerTask "test", ["jshint", "connect:test", "watch:test"]

  # Default meta-task
  grunt.registerTask "default", ["jshint", "regex-replace", "uglify", "docco"]

            done(!error?)

  # Release meta-task
  grunt.registerTask "release", ["jshint", "uglify", "docco", "git-tag", "s3"]

  # Run a webserver for testing
  grunt.registerTask "server", ["connect:server:keepalive"]
