How to submit the .git directory?
northes
HOBBYOP

2 years ago

I tried to search in the community, but no one seemed to encounter similar problems. I need to use the following command to determine the construction version when constructing (not only through github, I know that there will be an environmental variable through the construction of the construction through github)

git describe --tags --always

I want to submit the .git directory when using the following commands when developing locally (`railway up`) to allow me to execute related commands

1 Replies

2 years ago

Railway will not clone over the .git folder.

Maybe some of these variables could be of use to you to instead? - https://docs.railway.app/reference/variables#git-variables


Welcome!

Sign in to your Railway account to join the conversation.

Loading...