what's the difference between "~18" and "18.*" when configuring BP_NODE_VERSION #62
zhoufenqin
started this conversation in
General
Replies: 1 comment
-
@zhoufenqin generally yes. All of the buildpacks will parse valid semantic versions. In addition, many (possibly all, I'm not sure) buildpacks use https://github.com/Masterminds/semver to parse and compare the versions. That library has broader support than the semver specification above. More details on what it supports can be found in the README of that library. In particular, the sections on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see some buildpack use ".*" to set the version, like set
BP_GO_VERSION=1.19.*
In nodejs buildpack, set node version to 18, I can use
BP_NODE_VERSION=18.*
orBP_NODE_VERSION=~18
, does it the same?Beta Was this translation helpful? Give feedback.
All reactions