File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 2323 distribution : temurin
2424 java-version : 11
2525 check-latest : true
26- - name : Set release version
27- run : |
28- release_version=$(git describe --tags --abbrev=0 --exact-match)
29- export ORG_GRADLE_PROJECT_releaseVersion="${release_version:1}"
3026 - name : Publish
3127 uses : gradle/gradle-build-action@v2
3228 with :
Original file line number Diff line number Diff line change @@ -16,10 +16,6 @@ plugins {
1616}
1717
1818group = " build.buf"
19- val releaseVersion = project.findProperty(" releaseVersion" ) as String?
20- // Default to snapshot versioning for local publishing.
21- version = releaseVersion ? : " 0.0.0-SNAPSHOT"
22-
2319configurePublishing()
2420
2521allprojects {
Original file line number Diff line number Diff line change 11buildscript { repositories { gradlePluginPortal() } }
22
3+ plugins {
4+ id(" net.vivin.gradle-semantic-build-versioning" ) version " 4.0.0"
5+ }
6+
37rootProject.name = " buf-gradle-plugin"
You can’t perform that action at this time.
0 commit comments