Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
1. Update version in gradle.properties
2. Update CHANGELOG.md
3. Update README.md
4. `git checkout -b release`
4. `git branch -d release && git checkout -b release`
5. `git commit -am "Prepare for release X.Y.Z"` (where X.Y.Z is the new version)
6. `./gradlew publish -PRELEASE_SIGNING_ENABLED=true`
7. Visit [Sonatype Nexus](https://s01.oss.sonatype.org/) and promote the artifact.
- To promote the artifact go to Staging Repositories, select the repository and click on Release.
7. Visit [Sonatype Nexus](https://central.sonatype.com/publishing/deployments) and promote the artifact.
8. `git tag -a X.Y.Z -m "Version X.Y.Z"` (where X.Y.Z is the new version)
9. `git push --follow-tags`
10. [Create PR release to main](https://github.com/SchwarzIT/dagger-lightsaber/compare/release?expand=1)
Expand Down
3 changes: 1 addition & 2 deletions gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@file:Suppress("UnstableApiUsage")

import com.vanniktech.maven.publish.SonatypeHost.Companion.S01
import org.jetbrains.kotlin.gradle.internal.ensureParentDirsCreated

plugins {
Expand Down Expand Up @@ -122,7 +121,7 @@ sourceSets {
}

mavenPublishing {
publishToMavenCentral(S01)
publishToMavenCentral()
coordinates(group.toString(), "lightsaber-gradle-plugin", version.toString())

pom {
Expand Down
4 changes: 1 addition & 3 deletions lightsaber/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import com.vanniktech.maven.publish.SonatypeHost.Companion.S01

plugins {
id("kotlin-kapt")
alias(libs.plugins.kotlin.jvm)
Expand Down Expand Up @@ -59,7 +57,7 @@ configure<com.diffplug.gradle.spotless.SpotlessExtension> {
}

mavenPublishing {
publishToMavenCentral(S01)
publishToMavenCentral()
coordinates(group.toString(), "lightsaber", version.toString())

pom {
Expand Down