Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Make package version dynamic in grunt #1457

Merged

Conversation

interactivellama
Copy link
Contributor

Previous version set at "compile time" and updated once. Now the version is always "fresh." @swilliamset

Replaces #1445.

Previous version set at "compile time" and updated once
@swilliamset
Copy link
Contributor

Getting fresh package version, good. Always getting fresh package version even though you haven't changed the version especially in the score of a function, bad. Little overkill.

@interactivellama
Copy link
Contributor Author

Yes, if performance was a concern, this would not be the answer.

The other option is update it at a certain point in the process, but that mean you are managing state which can easily go bad. Is this tasking running before or after the update?

This makes the version stateless and always reads it from the file.

swilliamset added a commit that referenced this pull request Aug 17, 2015
…ynamic

Make package version dynamic in grunt
@swilliamset swilliamset merged commit baacc5c into ExactTarget:master Aug 17, 2015
@interactivellama interactivellama deleted the make-package-version-dynamic branch April 4, 2016 15:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants