mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-12-28 22:46:22 +03:00
Change to use do notation in favor of (>>) operator chain.
This commit is contained in:
parent
7e09dd8d62
commit
3e661dbf22
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user