-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
feat: Screen Resolution Abstraction #1598
Conversation
d423d18
to
ff28561
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good.
Some questions around:
- Using
resolution
instead ofviewport
- Cleaning up event handlers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it
@@ -19,7 +19,8 @@ function getCurrentCommit() { | |||
} | |||
|
|||
function getLatestTag(commit) { | |||
execSync('git fetch'); | |||
execSync('git fetch --depth=1000'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue getting all the tags? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Temporary fix, Travis does a shallow clone :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can get a deep clone on Travis by adding git fetch --unshallow
to your before_script
:
before_script:
- git fetch --unshallow
Edit: I see that's essentially what you're doing above. Never mind. Sorry for the noise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I might switch to this. Seems far less brittle
===:clipboard: PR Checklist :clipboard:===
==================
Closes #1617
Changes: