Skip to content

Commit

Permalink
Fixes #1745: Fix JSON sent to release artefacts to Maven Central.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholassmith-da committed Jun 18, 2019
1 parent 7f57609 commit 2c89b08
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions docs/source/support/release-notes.rst
Expand Up @@ -9,6 +9,14 @@ This page contains release notes for the SDK.
HEAD — ongoing
--------------

Release Procedure
~~~~~~~~~~~~~~~~~

- Fixes to the release procedure. Note: The release to Maven Central was successfully
performed _manually_ in release 0.13.3. This release should confirm that it will occur
as part of the CI/CD.
See `#1745 <https://github.com/digital-asset/daml/issues/1745>`__

.. _release-0-13-3:

0.13.3 - 2019-06-18
Expand Down
5 changes: 3 additions & 2 deletions release/src/Upload.hs
Expand Up @@ -232,9 +232,10 @@ publishStagingRepo baseRequest manager comDamlRepoId comDigitalassetRepoId = do
--
let releaseStagingReposRequest
= setRequestMethod "POST"
$ setRequestPath "/local/staging/bulk/promote"
$ setRequestPath "/service/local/staging/bulk/promote"
$ setRequestHeader "content-type" [ "application/json" ]
$ setRequestBodyLBS (textToLazyByteString $ "{\"data\":{\"stagedRepositoryIds\":[\"" <> comDamlRepoId <> "\",\"" <> comDigitalassetRepoId <> "\",\"description\":\"\",\"autoDropAfterRelease\":true}}") baseRequest
$ setRequestHeader "accept" [ "application/json" ]
$ setRequestBodyLBS (textToLazyByteString $ "{\"data\":{\"stagedRepositoryIds\":[\"" <> comDamlRepoId <> "\",\"" <> comDigitalassetRepoId <> "]\",\"description\":\"\",\"autoDropAfterRelease\":true}}") baseRequest

_ <- recovering uploadRetryPolicy [ httpResponseHandler ] (\_ -> liftIO $ httpNoBody releaseStagingReposRequest manager)

Expand Down

0 comments on commit 2c89b08

Please sign in to comment.