Skip to content

Is there a way to capture the output of a script? #5

@otmezger

Description

@otmezger

Hi,

I want to use your script to call git rev-parse HEAD and get the current commit hash in git, but I can't figure out how to use the return of the script inside of grunt.

is there a way to tell your plugin to record the output of the script into a grunt argument? like grunt.myCommitHash?

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions