Skip to content

Commit 820431f

Browse files
committed
[Gradle Release Plugin] - pre tag commit: 'plugin-0.0.1'.
1 parent 44c2f4e commit 820431f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

plugin/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,16 @@ publishing {
2828
name = "GitHubPackages"
2929
url = uri("https://maven.pkg.github.com/vanioinformatika/maven-releases")
3030
credentials {
31-
username = System.getenv("GPR_USERNAME")
32-
password = System.getenv("GPR_TOKEN")
31+
username = System.getenv("GPR_USERNAME").also { println("user:$it") }
32+
password = System.getenv("GPR_TOKEN").also { println("token:$it") }
3333
}
3434
}
3535
}
3636
}
3737

3838
release {
3939
failOnPublishNeeded = false
40+
failOnCommitNeeded = false
4041
tagTemplate = "\$name-\$version"
4142
scmAdapters = listOf(GitAdapter::class.java)
4243
git {

plugin/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = 0.0.1-SNAPSHOT
1+
version = 0.0.1

0 commit comments

Comments
 (0)