Skip to content

Commit 9295259

Browse files
Disable automatic release in publish_release (#21873)
Releases of stable versions now require manual approval on https://oss.sonatype.org/ by release officer. Difference between `sonatypeBundleRelease` and `sonatypeBundleUpload` is described [here](https://github.com/xerial/sbt-sonatype?tab=readme-ov-file#commands) [skip ci] --------- Co-authored-by: Hamza Remmal <[email protected]> [Cherry-picked c63cfde][modified]
1 parent 360f19a commit 9295259

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ jobs:
10891089
asset_content_type: text/plain
10901090

10911091
- name: Publish Release
1092-
run: ./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonatypeBundleRelease"
1092+
run: ./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonatypeBundleUpload"
10931093

10941094

10951095
open_issue_on_failure:
@@ -1115,7 +1115,15 @@ jobs:
11151115
build-msi-package:
11161116
uses: ./.github/workflows/build-msi.yml
11171117
if : github.event_name == 'pull_request' && contains(github.event.pull_request.body, '[test_msi]')
1118-
# TODO: ADD A JOB THAT DEPENDS ON THIS TO TEST THE MSI
1118+
1119+
test-msi-package:
1120+
uses: ./.github/workflows/test-msi.yml
1121+
needs: [build-msi-package]
1122+
with:
1123+
# Ensure that version starts with prefix 3.
1124+
# In the future it can be adapted to compare with with git tag or version set in the project/Build.scala
1125+
version: "3."
1126+
java-version: 8
11191127

11201128
build-sdk-package:
11211129
uses: ./.github/workflows/build-sdk.yml

0 commit comments

Comments
 (0)