mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
build: fixed upload dir for maven
This commit is contained in:
parent
5626239435
commit
314bf3f6f7
1 changed files with 4 additions and 3 deletions
|
|
@ -865,16 +865,17 @@ func doAndroidArchive(cmdline []string) {
|
|||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
dir := "./"
|
||||
buildDir := "build"
|
||||
build.MustRunCommand("mvn", "gpg:sign-and-deploy-file", "-e", "-X",
|
||||
"-settings=build/mvn.settings", "-Durl=file:///"+dir, "-DrepositoryId=ossrh",
|
||||
"-settings=build/mvn.settings", "-Durl=file:///"+buildDir, "-DrepositoryId=ossrh",
|
||||
"-Dgpg.keyname="+keyID,
|
||||
"-DpomFile="+meta.Package+".pom", "-Dfile="+meta.Package+".aar")
|
||||
|
||||
profileID := "1234" // TODO (MariusVanDerWijden) get these configuration parameters
|
||||
repositoryID := "1234"
|
||||
// Upload the artifacts to Maven Central
|
||||
uploadToMaven(deploy, profileID, repositoryID, dir)
|
||||
uploadDir := buildDir + "/org/ethereum/geth/" + meta.Package
|
||||
uploadToMaven(deploy, profileID, repositoryID, uploadDir)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue