Adjust verify-bintrya-upload script for Flipper

Summary:
Umm, this is embarrassing. I thouhgt I did this when I put
up the first diff? Apparently I didn't. Well, I just ran
this for `0.14.2` and now it actually does what it
says on the tin.

Reviewed By: danielbuechele

Differential Revision: D13861574

fbshipit-source-id: dd7ae30a97e6da036d3a30b43de941e82088062c
This commit is contained in:
Pascal Hartig
2019-01-30 10:16:50 -08:00
committed by Facebook Github Bot
parent 599b069943
commit 14b1583eb0

View File

@@ -3,7 +3,7 @@
{-
This script verifies that for a given version number, all Litho artifacts were
This script verifies that for a given version number, all Flipper artifacts were
successfully uploaded to Bintray. Due to service flakiness, sometimes one or
more artifacts don't actually end up getting published and we want to have
an automated way to check whether or not an upload succeded.
@@ -130,7 +130,7 @@ parseMvnArtifact = M.parse (mvnParser <* M.eof) "<input>" >>> first (T.pack . M.
mvnArtifactToVersionedIdentifier :: MvnArtifact -> Text -> Text
mvnArtifactToVersionedIdentifier MvnArtifact{..} version =
format ("com.facebook.litho:"%s%":"%s%":"%s) mvnArtifactId version mvnPackaging
format ("com.facebook.flipper:"%s%":"%s%":"%s) mvnArtifactId version mvnPackaging
buildMvnGetCommand :: MvnArtifact -> Version -> FilePath -> (T.Text, [T.Text])
buildMvnGetCommand artifact (Version version) configDir =