Skip to content

Commit f8bc712

Browse files
authored
add SDKMAN to Scala 2 release steps (#806)
1 parent 1602898 commit f8bc712

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/ISSUE_TEMPLATE/release.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,15 @@ If there are delays downstream, at some point it may make sense to go ahead and
172172
- [ ] Discord: link to release notes in #announcements channel
173173
- [ ] consider also saying something in #scala-contributors channel
174174
- [ ] Unblock the release in Scala Steward by PRing an update to [default.scala-steward.conf](https://github.com/scala-steward-org/scala-steward/blob/master/modules/core/src/main/resources/default.scala-steward.conf)
175-
- [ ] Ensure SDKMAN makes the release available (see scala/scala-dev#782)
176-
- [ ] ask Seth to announce on #scala IRC
175+
- [ ] Add the release to SDKMAN
176+
- as per the documentation at https://sdkman.io/vendors
177+
- URL provided must be in `.zip` format, `.tgz` doesn't work
178+
- sample command: `curl -X POST -H "Consumer-Key: xxx" -H "Consumer-Token: xxx" -H "Content-Type: application/json" -H "Accept: application/json" -d '{"candidate": "scala", "version": "2.12.14", "url": "https://downloads.lightbend.com/scala/2.12.14/scala-2.12.14.tgz"}' https://vendors.sdkman.io/release`
179+
- replace both `xxx`s with the credential information provided to Seth by Marco Vermeulen (marco at sdkman dot io)
180+
- [ ] test afterwards with `sdk list scala` and `sdk install scala <version>` (these should work immediately once the `POST` succeeds)
181+
- to correct mistakes, `PATCH` and `DELETE` are also available
177182
- [ ] Announce on https://reddit.com/r/scala
183+
- [ ] ask Seth to announce on #scala IRC
178184

179185
### Afterwards
180186

0 commit comments

Comments
 (0)