obsidiansystems / obelisk

Functional reactive web and mobile applications, with batteries included.
https://reflex-frp.org
BSD 3-Clause "New" or "Revised" License
959 stars 107 forks source link

command: Use relative paths in getGitHash #1070

Closed jmholla closed 8 months ago

jmholla commented 8 months ago

This seems to be the only part of the code that doesn't expect a relative path to the current working directory, and that's a quirk of git rev-parse with a revision specified. (Without HEAD, this would also work.)

This change ensures we are always looking at files in the current directory so deployment files do not have to be located in the root of a repository.

I have:

jmholla commented 8 months ago

This PR is all messed up since I worked off of master.