What I mean is this: usually every project is stored in two repository managers. A dartlang repository manager:
and a GitHub repository manager:
If you want to upload or update your project to
pub.dartlang.org, just change the version number (pubspec.yaml) and execute the following command:
If you want to upload/update your project to GitHub, just execute the following command:
There's something very interesting in GitHub called
Webhooks. A 'webhooks' notifies to other services that the repository has changed. This way, we do not need to execute the "pub publish" command. Just "git push":
# push your project and notify pub.dartlang.org that something has changed
> git push