How can I specify the target directory name by date/git hash? I am using Rsync for deployment.
Here is an example illustrating what I want to do:
deploy: rsync: user: builder host: 192.168.111,111 port: 22 source: android-k/out/target/product/my-product target: /home/public/releases/`date +%F`-`git rev-parse HEAD --short`
For now, I set up the output directory name by the build script, and putting it inside a fixed location.