Skip to content

Commit

Permalink
Fix desktop CI
Browse files Browse the repository at this point in the history
  • Loading branch information
prof18 committed Dec 26, 2024
1 parent 3925675 commit 877ba63
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/desktop-gh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,10 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: |
${{ needs.build-linux.outputs.deb_name }}/*
${{ needs.build-linux.outputs.rpm_name }}/*
${{ needs.build-windows.outputs.artifact_name }}/*
${{ needs.build-macos.outputs.artifact_name }}/*
${{ needs.build-linux.outputs.deb_name }}
${{ needs.build-linux.outputs.rpm_name }}
${{ needs.build-windows.outputs.artifact_name }}
${{ needs.build-macos.outputs.artifact_name }}
draft: true
tag_name: ${{ needs.build-macos.outputs.release_tag }}
env:
Expand Down
2 changes: 0 additions & 2 deletions androidApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,11 @@ play {
track.set("internal")
}

@Suppress("UnstableApiUsage")
fun getVersionCode(): Int =
providers.exec {
commandLine("git", "rev-list", "HEAD", "--first-parent", "--count")
}.standardOutput.asText.get().trim().toInt()

@Suppress("UnstableApiUsage")
fun getVersionName(): String =
providers.exec {
commandLine("git", "describe", "--tags", "--abbrev=0", "--match", "*-android")
Expand Down
2 changes: 0 additions & 2 deletions desktopApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,11 @@ val macExtraPlistKeys: String
</array>
""".trimIndent()

@Suppress("UnstableApiUsage")
fun getVersionCode(): Int =
providers.exec {
commandLine("git", "rev-list", "HEAD", "--first-parent", "--count")
}.standardOutput.asText.get().trim().toInt()

@Suppress("UnstableApiUsage")
fun getVersionName(): String =
providers.exec {
commandLine("git", "describe", "--tags", "--abbrev=0", "--match", "*-desktop")
Expand Down

0 comments on commit 877ba63

Please sign in to comment.