I believe this is a problem with the new implementation to implement #2218
Command line:
LIBRARIAN_GITHUB_TOKEN=$(gh auth token) librarian release init -repo=https://github.com/jskeet/gapic-generator-go -push -branch=test-release -library=generator
State file on branch:
image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/librarian-go:latest
libraries:
- id: generator
version: 0.53.1
source_roots:
- '.'
tag_format: 'v{version}'
Error:
failed to copy librarian dir from /tmp/librarian-99832526/gapic-generator-go to /tmp/librarian-99832526/release-init: open /tmp/librarian-99832526/release-init/.librarian/config.yaml: file exists
I suspect it's failing because it's trying to copy ".", which includes the .librarian directory which has already been copied separately.
Jeff, if I've misdiagnosed this, please let me know.
I believe this is a problem with the new implementation to implement #2218
Command line:
LIBRARIAN_GITHUB_TOKEN=$(gh auth token) librarian release init -repo=https://github.com/jskeet/gapic-generator-go -push -branch=test-release -library=generatorState file on branch:
Error:
I suspect it's failing because it's trying to copy ".", which includes the .librarian directory which has already been copied separately.
Jeff, if I've misdiagnosed this, please let me know.