include migrations in the package, update docs, versions (#194)

* include migrations in the package, update versions

* update DigitalOcean version
This commit is contained in:
Evgeny Poberezkin
2021-09-11 18:36:12 +01:00
committed by GitHub
parent d1d7d51fe0
commit 33de5f6fec
8 changed files with 23 additions and 15 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ runSMPAgentBlocking (ATransport t) started cfg@AgentConfig {tcpPort} = runReader
where
smpAgent :: forall c m'. (Transport c, MonadUnliftIO m', MonadReader Env m') => TProxy c -> m' ()
smpAgent _ = runTransportServer started tcpPort $ \(h :: c) -> do
liftIO $ putLn h "Welcome to SMP v0.4.0 agent"
liftIO $ putLn h "Welcome to SMP v0.4.1 agent"
c <- getAgentClient
logConnection c True
race_ (connectClient h c) (runAgentClient c)
+1 -1
View File
@@ -221,7 +221,7 @@ major :: SMPVersion -> (Int, Int)
major (SMPVersion a b _ _) = (a, b)
currentSMPVersion :: SMPVersion
currentSMPVersion = "0.4.0.0"
currentSMPVersion = "0.4.1.0"
serializeSMPVersion :: SMPVersion -> ByteString
serializeSMPVersion (SMPVersion a b c d) = B.intercalate "." [bshow a, bshow b, bshow c, bshow d]