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
nebula
nebula3y ago
ah yeah so we don’t include git in the built image @wyzlle any idea on how you could
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
nebula
nebula3y ago
no there’s gotta be a better way than that 💀 are you building with nixpacks
@vxern
@vxernOP3y ago
Yes, I am. Bump.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
@vxern
@vxernOP3y ago
Bump.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server