All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.allegro.tech.build.axion.release.domain.hooks.PushHookAction.groovy Maven / Gradle / Ivy

package pl.allegro.tech.build.axion.release.domain.hooks

class PushHookAction implements ReleaseHookAction {

    @Override
    void act(HookContext hookContext) {
        hookContext.push()
    }

    static final class Factory extends DefaultReleaseHookFactory {

        @Override
        ReleaseHookAction create() {
            return new PushHookAction()
        }

        @Override
        ReleaseHookAction create(Closure customAction) {
            return create()
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy