Skip to content

Commit 415fd15

Browse files
authored
chore: remove closing and releasing from snapshot publishing (#1405)
I noticed it's always skipped.
1 parent 8f0a277 commit 415fd15

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.main.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ workflow(
7272
run(
7373
name = "Publish '$library' to Sonatype",
7474
condition = expr("steps.${setIsSnapshotVersionFlag.id}.outputs.is-snapshot == 'true'"),
75-
command = "./gradlew $library:publishToSonatype closeAndReleaseSonatypeStagingRepository --no-configuration-cache",
75+
command = "./gradlew $library:publishToSonatype --no-configuration-cache",
7676
)
7777
}
7878
}

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,15 @@ jobs:
8787
run: './gradlew setIsSnapshotFlagInGithubOutput'
8888
- id: 'step-4'
8989
name: 'Publish '':shared-internal'' to Sonatype'
90-
run: './gradlew :shared-internal:publishToSonatype closeAndReleaseSonatypeStagingRepository --no-configuration-cache'
90+
run: './gradlew :shared-internal:publishToSonatype --no-configuration-cache'
9191
if: '${{ steps.step-3.outputs.is-snapshot == ''true'' }}'
9292
- id: 'step-5'
9393
name: 'Publish '':github-workflows-kt'' to Sonatype'
94-
run: './gradlew :github-workflows-kt:publishToSonatype closeAndReleaseSonatypeStagingRepository --no-configuration-cache'
94+
run: './gradlew :github-workflows-kt:publishToSonatype --no-configuration-cache'
9595
if: '${{ steps.step-3.outputs.is-snapshot == ''true'' }}'
9696
- id: 'step-6'
9797
name: 'Publish '':action-binding-generator'' to Sonatype'
98-
run: './gradlew :action-binding-generator:publishToSonatype closeAndReleaseSonatypeStagingRepository --no-configuration-cache'
98+
run: './gradlew :action-binding-generator:publishToSonatype --no-configuration-cache'
9999
if: '${{ steps.step-3.outputs.is-snapshot == ''true'' }}'
100100
build_docs:
101101
name: 'Build docs'

0 commit comments

Comments
 (0)