Release build numbers and resilience in the update service.

This commit is contained in:
Alex Zenla 2023-02-03 13:20:21 -08:00
parent 0995e8813e
commit 495601d085
Signed by: alex
GPG Key ID: C0780728420EBFE5
4 changed files with 8 additions and 6 deletions

View File

@ -18,6 +18,8 @@ jobs:
uses: gradle/gradle-build-action@v2 uses: gradle/gradle-build-action@v2
with: with:
arguments: build arguments: build
env:
CONCRETE_BUILD_NUMBER: "${{ github.run_number }}"
- name: Organize Artifacts - name: Organize Artifacts
run: ./tools/organize-artifacts.sh run: ./tools/organize-artifacts.sh
- name: Upload to Backblaze - name: Upload to Backblaze

View File

@ -2,9 +2,9 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins { plugins {
java java
id("gay.pizza.foundation.concrete-root") version "0.7.0" id("gay.pizza.foundation.concrete-root") version "0.8.0"
id("gay.pizza.foundation.concrete-library") version "0.7.0" apply false id("gay.pizza.foundation.concrete-library") version "0.8.0" apply false
id("gay.pizza.foundation.concrete-plugin") version "0.7.0" apply false id("gay.pizza.foundation.concrete-plugin") version "0.8.0" apply false
} }
allprojects { allprojects {

View File

@ -1,5 +1,5 @@
plugins { plugins {
id("gay.pizza.foundation.concrete-plugin") version "0.7.0" id("gay.pizza.foundation.concrete-plugin")
} }
dependencies { dependencies {

View File

@ -21,9 +21,9 @@ object UpdateService {
sender.sendMessage("Updates:") sender.sendMessage("Updates:")
modules.forEach { (name, manifest) -> modules.forEach { (name, manifest) ->
// Dumb naming problem. Don't want to fix it right now. // Foolish naming problem. Don't want to fix it right now.
val plugin = if (name == "foundation-core") { val plugin = if (name == "foundation-core") {
plugins["foundation"] plugins["foundation"] ?: plugins[name.lowercase()]
} else { } else {
plugins[name.lowercase()] plugins[name.lowercase()]
} }