     grunt.registerTask 'release', 'Builds the distribution files, creates the release binaries, and creates a Git tag', [
         'bump-final'
         'dist'
+        'clean:release'
         'release-binaries'
         'tag-release'
         'release-help'

            dist: ['dist']
            postdist: [
                '<%= distDir %>/js/templates'
                '<%= distDir %>/js/build.txt'
            ]


                    dir: 'dist/js'
                    optimize: 'uglify2'
                    removeCombined: true
                    generateSourceMaps: false


        clean:
