Uploads the file at assetPath to git hub against the given release.
If mimeType is not supplied then the extension of the assetPath is
used to determine the mimeType.
Returns the path to the pubspec.yaml.
startingDir is the directory we start searching from.
We climb the path searching for the pubspec.yaml
@Throwing(ArgumentError)
In a multi-package release (where we have a multi settings file)
This method will return the highest version no. used by
any of the packages listed in the multi settings file.
pathToPrimaryPackage so contain the path to the
main package of the multi package project that contains
the pub_release.multi.yaml file in its tool directory.
In reallity it can be the path to any of the project roots.
@Throwing(ArgumentError)
@Throwing(PubReleaseException)
Resolves all advertised executables before release mutation, compilation,
or upload begins.
Names and script mappings must be portable filename stems. Sources must be
regular files whose canonical paths remain inside the package, including
when bin or a source is linked. In-memory pubspecs use the current
directory.
Updates the pubspec.yaml and versiong.g.dart with the
new version no.
@Throwing(ArgumentError)
@Throwing(CreateDirException)
@Throwing(PubSpecException)
Updates the pubspec.yaml and versiong.g.dart with the
new version no.
@Throwing(ArgumentError)
@Throwing(CreateDirException)
@Throwing(PubSpecException)