Closed nico-w closed 1 month ago
Seems reasonable. Note you can also set a heroku config variable BUN_VERSION
but I presume you'd still like this?
Yes, I know that I could set BUN_VERSION
in heroku ENVs which is actually cool as well but this is yet another place I'd need to check and maintain. So, I'd really prefer to have it set in just one single file.
Should now work with .bun-version
and the v
prefix to version numbers is now optional.
@jakeg Works beautifully! thanks!
What about adding support for specifying the bun version from yet another, maybe custom file? I also think it's a good idea to make the version prefix
v
optional.Take this as an example https://github.com/oven-sh/setup-bun?tab=readme-ov-file#inputs where one can read the content out of the
.bun-version
file to specify the bun version for the GitHub action.Currently, we have two files in our repository
runtime.bun.txt
and.bun-version
with the same information (except thev
). And it would be really cool, if we can rely on just one single file, in our case.bun-version
.What do you think?