mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-26 01:51:40 +00:00
Use snapshot repo for dev releases (#241)
This commit is contained in:
@@ -26,6 +26,7 @@ ext {
|
||||
opencvVersion = "3.4.7-5"
|
||||
joglVersion = "2.4.0-rc-20200307"
|
||||
pubVersion = versionString
|
||||
isDev = pubVersion.startsWith("dev")
|
||||
}
|
||||
|
||||
spotless {
|
||||
|
||||
@@ -136,7 +136,7 @@ publishing {
|
||||
url = releasesRepoUrl
|
||||
}
|
||||
maven {
|
||||
url 'https://maven.photonvision.org/repository/internal'
|
||||
url ('https://maven.photonvision.org/repository/' + (isDev ? 'snapshots' : 'internal'))
|
||||
credentials {
|
||||
username 'ghactions'
|
||||
password System.getenv("ARTIFACTORY_API_KEY")
|
||||
|
||||
Reference in New Issue
Block a user