Skip to content

version check: strip leading 'v' from github versions to be consistent#1626

Merged
landism merged 2 commits into
masterfrom
matt/strip_v_from_github_versions
May 14, 2019
Merged

version check: strip leading 'v' from github versions to be consistent#1626
landism merged 2 commits into
masterfrom
matt/strip_v_from_github_versions

Conversation

@landism

@landism landism commented May 14, 2019

Copy link
Copy Markdown
Member

prior to this:
the "current" build had no leading "v", e.g. "0.8.3"
the "latest" build fetched from github had a leading "v", e.g., "v0.8.3"

  1. strip v from github versions, so that we're all the same
  2. document that in the TiltBuild class
  3. no unit test since implementing a fake github api doesn't seem like a good use of time right now. unless someone has a cheaper idea?

@landism
landism requested review from jazzdan and maiamcc May 14, 2019 16:54

@maiamcc maiamcc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

woot

Comment thread internal/model/tilt_build.go Outdated
@@ -6,6 +6,7 @@ import (

// Information on the current built of the Tilt binary

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

luls "current build"

Comment thread internal/model/tilt_build.go Outdated
@landism
landism merged commit 39f4c1a into master May 14, 2019
@landism
landism deleted the matt/strip_v_from_github_versions branch May 14, 2019 20:25
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.

2 participants