-
-
Save alexhayes/0576d4c1f5eefe5da4d17ce726e83d95 to your computer and use it in GitHub Desktop.
Get git version after a executes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a: | |
cmd.run: | |
- name: git pull | |
- cwd: /foo | |
b: | |
cmd.run: | |
- name: echo {{ salt['git.describe'](target) }} | |
- require: | |
- cmd: a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
try it like this: