Skip to content

Commit 4a649cb

Browse files
committed
Make the release template into a GitHub issue template
1 parent 63603d3 commit 4a649cb

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

notes/releases/template.md renamed to .github/ISSUE_TEMPLATE/release.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
---
2+
name: Release
3+
about: Tracking issue for a release
4+
title: Release 2.y.z
5+
---
16
For every Scala release, make a copy of this file named after the release, and expand the variables.
27
Ideally this should become a script you can run on your local machine. The only missing piece is programmatic triggering of travis jobs with custom config.
38

49
Variables to be expanded in this template:
510
- SCALA_VER_BASE="2.13.0"
611
- SCALA_VER_SUFFIX="-M5"
7-
- SCALA_SHA=????????????????????????????????????????
12+
- SCALA_SHA=????????????????????????????????????????
813
- DIST_SHA=????????????????????????????????????????
914
- SCALA_VER="$SCALA_VER_BASE$SCALA_VER_SUFFIX"
1015

@@ -21,7 +26,7 @@ Key links:
2126
- [ ] Close the scala/scala-dev milestone, create next milestone, move pending issues
2227
- [ ] Check PRs assigned to the milestone, also check WIP
2328
- [ ] Announce expected release date and current nightly "release candidate" (nightly sha-mangled version) at https://scala-ci.typesafe.com/artifactory/scala-integration/ on https://contributors.scala-lang.org/c/announcements
24-
29+
2530
### Release announcement / notes
2631
- [ ] Notify community on https://contributors.scala-lang.org/c/announcements
2732
- [ ] Review merged PRs, make sure release-notes label is applied appropriately
@@ -55,7 +60,7 @@ Key links:
5560
### Point of no return
5661
- Once sufficient time has passed since last merged PR (1-2 weeks depending on whether it's a maintenance or development branch), and core projects have tried out the candidate nightly, it's time to cut the release!
5762
- [ ] Make sure there are no stray staging repos on sonatype
58-
- [ ] Trigger a build on [travis](https://travis-ci.org/scala/scala), specify `SCALA_VER_BASE` and `SCALA_VER_SUFFIX` in the custom config
63+
- [ ] Trigger a build on [travis](https://travis-ci.org/scala/scala), specify `SCALA_VER_BASE` and `SCALA_VER_SUFFIX` in the custom config
5964
- config: `before_install: export SCALA_VER_BASE=$SCALA_VER_BASE SCALA_VER_SUFFIX=$SCALA_VER_SUFFIX`)
6065
- Check the build status on https://github.com/scala/scala/commits/2.13.x
6166
- Check that the scala/scala job also triggered a following scala/scala-dist job: https://travis-ci.org/scala/scala-dist/builds/?
@@ -70,7 +75,7 @@ Key links:
7075
- https://oss.sonatype.org/content/repositories/staging/org/scala-lang/scala-compiler/$SCALA_VER/
7176
- in particular, if the release was staged multiple times, double check that https://oss.sonatype.org/content/repositories/staging/ has the files from the most recent build
7277
- [ ] Trigger scala-dist jobs on travis (https://travis-ci.org/scala/scala-dist) with custom config. must use full-length SHAs!
73-
- `before_install: export version=$SCALA_VER scala_sha=$SCALA_SHA mode=stage` # TODO this mode is not yet implemented
78+
- `before_install: export version=$SCALA_VER scala_sha=$SCALA_SHA mode=stage` # TODO this mode is not yet implemented
7479
- Remember, tags are forever, so are maven artifacts (even staged ones, as they could end up in local caches) and S3 uploads (S3 buckets can be changed, but it can takes days to become consistent)
7580
- [ ] Push scala/scala tag: `git push https://github.com/scala/scala.git v$SCALA_VER`
7681
- [ ] Add release notes to https://github.com/scala/scala/releases/tag/v$SCALA_VER

0 commit comments

Comments
 (0)