How can I work with the Git repository from my deployment?
Project ID:
cdd35e11-f7e2-4bac-9450-f223520e060f
My application fetches the current running version dynamically by accessing the latest Git tag from its repository.
I have auto-deploy enabled on Railway for my GitHub repository.
However, attempting to run git tag --sort=-committerdate --list v*
yields fatal: not a git repository (or any of the parent directories): .git
.7 Replies
ah yeah so we don’t include git in the built image
@wyzlle any idea on how you could
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
no there’s gotta be a better way than that 💀
are you building with nixpacks
Yes, I am.
Bump.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Bump.
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View