Skip to content

Instantly share code, notes, and snippets.

@Padam87
Created October 9, 2014 13:10
Show Gist options
  • Save Padam87/c56c7bfb79948764fcfd to your computer and use it in GitHub Desktop.
Save Padam87/c56c7bfb79948764fcfd to your computer and use it in GitHub Desktop.
Symfony autogenerate assets_version
imports:
- { resource: ../../assets_version.yml }
framework:
templating:
assets_version: %assets_version%
date=$(date +"%y%m%d%H%M%S"); printf "parameters:\n assets_version: $date" > assets_version.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment