Skip to content

Commit

Permalink
docs: explain skipping release
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Hivert <[email protected]>
  • Loading branch information
ghivert committed May 14, 2024
1 parent 3876e09 commit d2f6988
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/backend/src/tasks/hex.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ fn insert_package_and_releases(
wisp.log_debug("Saving releases for " <> package.name)
use r <- list.try_each(releases)
let release = package.name <> " v" <> r.version
// When release does not exists, il will continue.
// Forcing the update will send an error no matter what to continue.
use _ <- result.try_recover({
queries.lookup_release(state.db, id, r)
|> result.replace(Nil)
Expand Down

0 comments on commit d2f6988

Please sign in to comment.