             # Always force the new changes
             'git merge develop -X theirs'
             # Apply tag
-            "git tag #{thisManifest.version}"
-            # Sync with Github
+            "git tag #{getVersion()}"
+            ## Sync with Github
             'git push origin develop:develop'
             'git push origin master:master'
             'git push origin --tags'

  grunt.registerTask 'link', 'dom_munger'

  grunt.registerTask 'release', (level) ->
    grunt.task.run('shell:precommit')
    grunt.task.run("bump:#{level}")
    grunt.task.run('shell:commit')

  grunt.registerTask 'optimize', ->
    # TODO: turn on after our refactoring


      commit:
        command: ->
          chainCommands [
            # Commit
            'git add component.json'
