Package co.tomlee.gradle.plugins.release

Examples of co.tomlee.gradle.plugins.release.ReleaseException


        if (releaseConvention.isEnsureWorkspaceClean()) {
            final Repository repo = repository(getProject());
            final Git git = new Git(repo);

            if (git.status().call().hasUncommittedChanges()) {
                throw new ReleaseException("The working tree has uncommitted changes");
            }
        }
        else {
            log.info("Skipping check for clean workspace");
        }
View Full Code Here


    public void release() throws Exception {
        final Repository repo = repository(getProject());
        final Git git = new Git(repo);

        if (git.status().call().hasUncommittedChanges()) {
            throw new ReleaseException("The working tree has uncommitted changes");
        }
    }
View Full Code Here

TOP

Related Classes of co.tomlee.gradle.plugins.release.ReleaseException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.