Skip to content

Commit

Permalink
fix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
brahmkshatriya committed Jan 5, 2025
1 parent 5eaff3e commit 4e2d5fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
uses: sgpublic/delete-release-action@master
with:
release-drop: true
release-keep-count: 3
release-keep-count: 2
release-drop-tag: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ val extUpdateUrl: String? by project
val gitHash = execute("git", "rev-parse", "HEAD").take(7)
val gitCount = execute("git", "rev-list", "--count", "HEAD").toInt()
val verCode = gitCount
val verName = gitHash
val verName = "v$gitHash"

tasks.register("uninstall") {
exec {
Expand All @@ -50,7 +50,7 @@ android {
put("type", "dev.brahmkshatriya.echo.${extType}")
put("id", extId)
put("class_path", "dev.brahmkshatriya.echo.extension.${extClass}")
put("version", "v$verName")
put("version", verName)
put("version_code", verCode.toString())
put("icon_url", extIconUrl ?: "")
put("app_name", "Echo : $extName Extension")
Expand Down
2 changes: 1 addition & 1 deletion ext/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ val extUpdateUrl: String? by project
val gitHash = execute("git", "rev-parse", "HEAD").take(7)
val gitCount = execute("git", "rev-list", "--count", "HEAD").toInt()
val verCode = gitCount
val verName = gitHash
val verName = "v$gitHash"

publishing {
publications {
Expand Down

0 comments on commit 4e2d5fa

Please sign in to comment.