Releasing All Packages
Releasing all packages at the same time in from a development environment is also possible since mMecoRelease
package
offers convenient commands like mmecorelease-release-all
. As a common practice you have to initialize the development
environment, which you want to release all packages from. So activate Meco™ and initialize the master project with main
development environment.
# meco-init
meco -de main
Now you can type and execute the command;
mmecorelease-release-all
You will be prompted with the following question.
Do you want to release all packages in your development environment?
Development Packages Path : /<PATH>/meco/master/developers/soner/development/main
Project Internal Packages Path : /<PATH>/meco/master/internal
Project External Packages Path : /<PATH>/meco/master/external
Answer (YES, NO):
Type YES
to release all the packages in the development environment. Press enter to abort releasing.
This command will run all pre-dependencies (checks) for all the packages first, if all the pre-dependencies pass for all packages, then all the packages will be released. Even if only one pre-dependency fails for one package, none of the packages will be released.
Checking All Packages for Release
If you want to only check all the packages without releasing them you can do so by invoking the following command too.
mmecorelease-check-all
This command will run all the pre-dependencies for all the packages in your development environment but will not release them. So you can fix displayed errors if any, before you release all the packages.