mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-08 23:04:20 -05:00
[PR #1425] Fix web build when cloned as submodule #1404
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/1425
Author: @eltbus
Created: 8/21/2025
Status: 🔄 Open
Base:
main← Head:fix/use-exec-git-instead-of-imput-version-info📝 Commits (1)
1ea0a6eThis implementations allows it to work when used as a submodule📊 Changes
1 file changed (+26 additions, -1 deletions)
View changed files
📝
web/src/routes/version.json/+server.ts(+26 -1)📄 Description
Ran into an issue building the frontend because of the
getfunctions of theimput/version-infopackage if cobalt was cloned as a git submodule, so I decided to implement them instead.This change relies on the pure execution of
gitto make it work.Having
gitinstalled is required for it to work.I am happy to work on it if it's not up to the standards!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.