Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag for deployment #2

Open
chimmelb opened this issue Feb 18, 2015 · 3 comments
Open

Tag for deployment #2

chimmelb opened this issue Feb 18, 2015 · 3 comments

Comments

@chimmelb
Copy link

If there is a way to specify arguments for a grunt task from the command line, it'd be nice to specify a unique tag in addition to the date. This way I could put my current version information in there, and easily identify it in the tag listing.

I'd like to run grunt ebDeploy:env:tag=v0.0.234 and see a build created like my-app-name-20150218--558486--v0.0.234

@jjongsma
Copy link
Owner

The app version name already contains the Git commit tag after the date, if that helps. I'm not aware of anyway to pass arbitrary values into grunt plugins (though I'm not a Grunt plugin expert).

@jjongsma
Copy link
Owner

Looks like it might be possible with this:

http://stackoverflow.com/questions/20127586/grunt-command-line-parameters

@chimmelb
Copy link
Author

Yeah, that'd be cool. My application name is present, and it'd be nice to add a version or tag for each push.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants