Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Commit

Permalink
v0.3.4 preparations
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmat192 committed Oct 16, 2017
1 parent 778ffed commit 8c7916e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v0.3.4 (Oct 2017) ##
* Intermediate release

## v0.3.2 (Sep 2017) ##
* Bug fixes

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ kotlinVersion=1.1-20171004.235336-906
kotlinScriptRuntimeVersion=1.1-20171004.235353-597
kotlinStdLibVersion=1.1-20171004.235357-905
kotlinReflectVersion=1.1-20171004.235348-905
konanVersion=0.3.3
konanVersion=0.3.4
org.gradle.jvmargs='-Dfile.encoding=UTF-8'

##
Expand Down
6 changes: 5 additions & 1 deletion tools/publish-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ REPO="https://github.com/JetBrains/kotlin-native.git"
TREE_DIR=${PWD}
BUNDLE_TAR="$TREE_DIR/kotlin-native-$OS-$VERSION.tar.gz"
BUNDLE_DIR="$TREE_DIR/kotlin-native-$OS-$VERSION"
WAIT_TIME=60


# Build and test.
Expand Down Expand Up @@ -93,6 +94,7 @@ if [ "$UPLOAD" == "true" ]; then
export BINTRAY_KEY
./gradlew :tools:kotlin-native-gradle-plugin:bintrayUpload -Poverride
fi
sleep 10 # Wait some time to ensure that the plugin can be downloaded on the following step.

# 5. Build the bundle samples with the plugin
stage "Building samples with gradle plugin and bundle compiler"
Expand All @@ -104,8 +106,10 @@ if [ "$UPLOAD" == "true" ]; then
stage "Uploading the bundle to CDN: $BUNDLE_TAR -> ftp://upload.cds.intellij.net/kotlin/native/"
curl --upload-file "$BUNDLE_TAR" "ftp://$CDN_USER:$CDN_PASS@upload.cds.intellij.net/kotlin/native/"
fi
echo "Wait ${WAIT_TIME} seconds to ensure that the bundle can be downloaded."
sleep ${WAIT_TIME}

# 7. Remove gradle.properties and build the bundle samples wiht gradle plugin.
# 7. Remove gradle.properties and build the bundle samples with gradle plugin.
stage "Building samples with gradle plugin and downloaded compiler"
cd "$BUNDLE_DIR/samples"
rm -rf gradle.properties
Expand Down

0 comments on commit 8c7916e

Please sign in to comment.