Muhammad Ikhwan Perwira
Muhammad Ikhwan Perwira

Reputation: 1032

Updating published package in dart pub

This is my first time contributing to the open source world. I made a simple client for the official cryptocurrency exchange API.

I was reading this and it's just told me how to publish a dart package. I did publish a package. Since I forgot to add documentation on how to use API Client, I want to update the README.md file. How do I do it? I'm afraid if I do dart pub publish will publish package twice since pub.dev policy doesn't allow discard.

Upvotes: 2

Views: 687

Answers (1)

Kevin Moore
Kevin Moore

Reputation: 6171

Just increment the version number to 1.0.1 or similar and publish again.

See https://dart.dev/tools/pub/publishing

Upvotes: 3

Related Questions