Change to use do notation in favor of (>>) operator chain.

This commit is contained in:
Eric Jones 2014-06-02 12:15:08 -05:00
parent 7e09dd8d62
commit 3e661dbf22

View File

@ -283,11 +283,12 @@ defaultBuildRelease = do
-- some directories exist, and pushing a new release directory with the
-- SHA1 or branch specified in the configuration.
pushRelease :: RC (Maybe String)
pushRelease = setupDirs >>
ensureRepositoryPushed >>
updateCacheRepo >>
cleanReleases >>
cloneToRelease
pushRelease = do
setupDirs
ensureRepositoryPushed
updateCacheRepo
cleanReleases
cloneToRelease
-- | Switches the current symlink to point to the release specified in
-- the configuration.