Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1022 Bytes

suport_api_notes.md

File metadata and controls

58 lines (36 loc) · 1022 Bytes

Developer Info

#cd /Users/brandl/projects/kotlin/kscript-support-api
## to install to local maven repo
gradle install

## to run the tests 
gradle test

Release Checklist

  1. Update version in
  • build.gradle
  • kscript and
  • kscript-support-api/README
  • kscript/README
  1. Do the central release
#  cd /c/brandl_data/projects/misc/kscript-support-api
 
./gradlew install

./gradlew publishToMavenLocal

#./gradlew publishToSonatype closeSonatypeStagingRepository
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
  1. Do the github source release
# make sure that are no pending chanes
#(git diff --exit-code && git tag v${kscript_version})  || echo "could not tag current branch"
git diff --exit-code  || echo "There are uncommitted changes"


git tag "1.2.5"

git push origin
git push origin --tags

Links

http://stackoverflow.com/questions/38021360/kotlin-object-vs-companion-object-vs-package-scoped-methods