Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty version file in GCS #125

Open
robwhitby opened this issue May 25, 2021 · 0 comments
Open

Empty version file in GCS #125

robwhitby opened this issue May 25, 2021 · 0 comments

Comments

@robwhitby
Copy link
Contributor

We use semver-resource with GCS and occasionally get these errors:

error bumping version: parsing number in bucket: Version string empty
error checking for new versions: parsing number in bucket: Version string empty

There is no error from the last put which bumped the version, but the file in GCS is indeed empty.

To fix it we have to manually write the latest version with gsutil.

# careful not to add newline
echo -n '1.2.3' > /tmp/v
gsutil cp /tmp/v gs://some-path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant