summaryrefslogtreecommitdiff
path: root/build.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-20 13:21:03 -0500
committerJeff Carr <[email protected]>2025-10-20 13:21:03 -0500
commit69b5038c58e6a8487f22aeaf28eddec5c785c283 (patch)
tree72b9910c32a803d8c7f3bffc0f5d7175516d39b0 /build.go
parent2ecc340541f88d4c1cbe437efe79a6fcfdbf5499 (diff)
probably better. notsure
Diffstat (limited to 'build.go')
-rw-r--r--build.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/build.go b/build.go
index 7ecbd3b..7d29354 100644
--- a/build.go
+++ b/build.go
@@ -195,14 +195,6 @@ func (f *Forge) runAutogenpb(repo *gitpb.Repo) error {
return nil
}
-// used by guireleaser for now
-func (f *Forge) FindWorkingDirRepo() *gitpb.Repo {
- pwd, _ := os.Getwd()
- basedir := strings.TrimPrefix(pwd, f.Config.ReposDir)
- basedir = strings.Trim(basedir, "/")
- return f.FindByNamespace(basedir)
-}
-
// Never do this. this is stupid. fix your repo
// Never try to version & release broken repos
// leave this code here as a reminder to never attempt this