grunt-gh-pages icon indicating copy to clipboard operation
grunt-gh-pages copied to clipboard

'v%VERSION' support?

Open alundiak opened this issue 9 years ago • 0 comments

Before gh-pages I personally knew grunt-bump - used in one of my projects. So they have code, which takes package.json/bower.json version and use it for commit/tagName purpose. I thought, it's default behavior/scope of npm/nodejs/grunt to see that %VERSION%, and as result of configs for gh-pages:

'gh-pages':{
            options: {
                base: 'gh-gh',
                tag:'v%VERSION%'
            },
            src: '**'
        }

after grunt gh-pages command I have wrong tag name on my repo: image

Is it possible to adopt such behavior here in gh-pages? Every commit of gh-pages should not go with the tag increasing aka bumping. But it can be configurable, like --use-tag-this-time=true or similar.

Note: gh-pages config with tag property works fine. --gh-pages-tag doesn't work. Details here: #55

alundiak avatar Jan 22 '16 23:01 alundiak