kopia lustrzana https://github.com/JOSM/MapWithAI
Add -dev to the snapshot name
Signed-off-by: Taylor Smock <taylor.smock@kaart.com>pull/1/head
rodzic
b6b90b2d05
commit
dbda18ceb6
|
@ -264,6 +264,7 @@ publish update site:
|
|||
mkdir -pv "pages/public/snapshot/${CI_COMMIT_REF_NAME}"
|
||||
cp -v "build/snapshot-update-site" "pages/public/snapshot/${CI_COMMIT_REF_NAME}/update-site"
|
||||
cp -v "build/dist/"* "pages/public/snapshot/${CI_COMMIT_REF_NAME}"
|
||||
cp -v "build/dist/mapwithai.jar" "pages/public/snapshot/${CI_COMMIT_REF_NAME}/mapwithai-dev.jar"
|
||||
- *push_pages_branch
|
||||
dependencies:
|
||||
- build
|
||||
|
|
|
@ -234,7 +234,7 @@ task generateSnapshotUpdateSite(type: GeneratePluginList) {
|
|||
outputFile = new File(project.buildDir, "snapshot-update-site")
|
||||
versionSuffix = {a -> ""}
|
||||
doFirst {
|
||||
def pluginDownloadUrl = "https://${gitlabGroup}.gitlab.io/${gitlabRepositoryName}/snapshot/master/${archivesBaseName}.jar"
|
||||
def pluginDownloadUrl = "https://${gitlabGroup}.gitlab.io/${gitlabRepositoryName}/snapshot/master/${archivesBaseName}-dev.jar"
|
||||
it.iconBase64Provider = {
|
||||
def file = new File(sourceSets.main.resources.srcDirs[0], it)
|
||||
if (file.exists()) {
|
||||
|
|
Ładowanie…
Reference in New Issue