Change build script: add upload jar function.