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}"
|
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/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/"* "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
|
- *push_pages_branch
|
||||||
dependencies:
|
dependencies:
|
||||||
- build
|
- build
|
||||||
|
|
|
@ -234,7 +234,7 @@ task generateSnapshotUpdateSite(type: GeneratePluginList) {
|
||||||
outputFile = new File(project.buildDir, "snapshot-update-site")
|
outputFile = new File(project.buildDir, "snapshot-update-site")
|
||||||
versionSuffix = {a -> ""}
|
versionSuffix = {a -> ""}
|
||||||
doFirst {
|
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 = {
|
it.iconBase64Provider = {
|
||||||
def file = new File(sourceSets.main.resources.srcDirs[0], it)
|
def file = new File(sourceSets.main.resources.srcDirs[0], it)
|
||||||
if (file.exists()) {
|
if (file.exists()) {
|
||||||
|
|
Ładowanie…
Reference in New Issue