Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record version in pileup.version #388

Merged
merged 2 commits into from
Nov 23, 2015
Merged

Record version in pileup.version #388

merged 2 commits into from
Nov 23, 2015

Conversation

danvk
Copy link
Collaborator

@danvk danvk commented Nov 23, 2015

This will be helpful if we ever want to check what version of pileup someone is using, e.g. ourselves on hammerlab.org or someone else on dnanexus.

Nothing ever stays in sync unless you force it to, so I've added a lint check that the two version numbers are the same.

Review on Reviewable

@armish
Copy link
Member

armish commented Nov 23, 2015

That's great - I like the lint check you put in place for this. I also wonder if we can make this part of the build process (something like an automatic header appended to the final file).

@danvk
Copy link
Collaborator Author

danvk commented Nov 23, 2015

I added a jQuery-style preamble to the minified JS. It looks like this:

/*! pileup v0.6.1 | (c) 2015 HammerLab | Apache-2.0 licensed */

danvk added a commit that referenced this pull request Nov 23, 2015
Record version in pileup.version
@danvk danvk merged commit a0c70f3 into master Nov 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants