v0.3.1 preparations. (#806)

This commit is contained in:
Nikolay Igotti
2017-08-24 15:03:19 +03:00
committed by GitHub
parent 8957320504
commit 69bf28cc23
9 changed files with 171 additions and 28 deletions
+50
View File
@@ -0,0 +1,50 @@
## Making release of Kotlin/Native ##
### Move version up in the repository ###
* Increment `konanVersion` in topmost `gradle.properties`.
* Create entry for new release in CHANGELOG.md file (consult git history for features included)
* Update RELEASE_NOTES.md with actual information on the released bits
### Create tagged release branch ###
git checkout -b v0.X-fixes
git tag -a v0.X -m "version 0.X"
git push --set-upstream origin origin v0.X-fixes --tags
### Build for all supported platforms ###
Repeat those steps for Mac OS X, Linux x86-64 and Windows x64 machines/VMs:
git pull
git checkout -b v0.X-fixes origin/v0.X-fixes
./gradlew clean bundle
Make sure all samples are buildable from the bundle with both Gradle and shell script builds.
### Create GitHub release ###
Create release at [`GitHub release page`](https://github.com/JetBrains/kotlin-native/releases).
We usually mark 0.X releases as pre-releases.
Upload builds created on the previous step to the GitHub release page.
### Upload builds ###
Upload build to CDN at upload.cds.intellij.net/kotlin/native.
Bundles are available at http://download.jetbrains.com/kotlin/native/<build>
in few minutes after upload.
Upload Gradle plugin to BinTray
BINTRAY_USER=... BINTRAY_KEY=... ./gradlew :tools:gradle-plugin:bintrayUpload
### Blog post ###
Notify #kotlin-native channel on public slack.
Write a meaningfully sized blog post describing new release at https://blog.jetbrains.com.
Login at https://blog.jetbrains.com/kotlin/wp-login.php. Synchronize with @abreslav and @yole.
Publish and enjoy!