Skip to content

Commit

Permalink
update to see if snapshot added
Browse files Browse the repository at this point in the history
  • Loading branch information
grablack committed Feb 23, 2024
1 parent 7788bee commit 11df080
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ buildscript {
// Assume modules.sdkVersionName is a String variable
modules.sdkVersionName += "-SNAPSHOT"
}

println(modules.sdkVersionName)

}
Expand Down Expand Up @@ -62,3 +63,18 @@ nexusPublishing {
subprojects {
group = "com.paypal.messages"
}

tasks.register("echoVersion") {
group = "github"
description = "Echoes version used"

doLast {
project.file(".github/workflows/release.yml").append(
"""
- name: Echo version
id: echo_version
run: echo ${modules.sdkVersionName}
"""
)
}
}

0 comments on commit 11df080

Please sign in to comment.