Skip to content

librarian tag-and-release can not use local repository #2327

@ldetmer

Description

@ldetmer
  1. checkout librarian locally
  2. run the following command from the repository folder
go run ./cmd/librarian/ release tag-and-release

you will get an error

time=2025-09-23T21:32:14.916Z level=INFO msg="Temporary working directory" dir=/tmp/librarian-20250923T213214Z
time=2025-09-23T21:32:14.916Z level=INFO msg="repo not specified, using current working directory as repo root" path=/usr/local/google/home/ldetmer/workspace-gcp/librarian
time=2025-09-23T21:32:14.916Z level=INFO msg="remote '/usr/local/google/home/ldetmer/workspace-gcp/librarian' is not a GitHub remote"
exit status 1

note this works fine when providing the full url

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions