Join Slack
Powered by
Is there an easy way to get at the current git SHA...
# general
b
bitter-island-28909
01/28/2019, 3:28 PM
Is there an easy way to get at the current git SHA of the repository containing my Pulumi code (such as is displayed in the web UI) from within my JS code? I’d like to use it to tag docker containers as well.
w
white-balloon-205
01/28/2019, 3:59 PM
You can shell out to
git
or use a JS git library from within your program.
2
Views
Open in Slack
Previous
Next