Skip to content

Commit

Permalink
Revert "Use github release versioning scheme (#126)" (#135)
Browse files Browse the repository at this point in the history
This reverts commit d14bd6b.
  • Loading branch information
buildbreaker authored Jun 21, 2023
1 parent a8a688b commit 07a50de
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ jobs:
distribution: temurin
java-version: 11
check-latest: true
- name: Set release version
run: |
release_version=$(git describe --tags --abbrev=0 --exact-match)
export ORG_GRADLE_PROJECT_releaseVersion="${release_version:1}"
- name: Publish
uses: gradle/gradle-build-action@v2
with:
Expand Down
4 changes: 0 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ plugins {
}

group = "build.buf"
val releaseVersion = project.findProperty("releaseVersion") as String?
// Default to snapshot versioning for local publishing.
version = releaseVersion ?: "0.0.0-SNAPSHOT"

configurePublishing()

allprojects {
Expand Down
Empty file.
4 changes: 4 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
buildscript { repositories { gradlePluginPortal() } }

plugins {
id("net.vivin.gradle-semantic-build-versioning") version "4.0.0"
}

rootProject.name = "buf-gradle-plugin"

0 comments on commit 07a50de

Please sign in to comment.