Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Make sure build is happening and all integration tests are passed by following steps defined in readme.md
  • Create a binary directory with release version under /home/user1/. In this example the directory name is apache-fineract-0.6.0-binary
  • Build war file and copy into binary directory. Extract LICENSE, NOTICE, DISCLAIMER files from fineract-provider.war and place them in binary directory.
  • Edit the fineract-provider/build.gradle "distributions" block to contain the right release number for binary and source releases - e.g. 

    distributionBaseName = "

    Now create a tar file of binary directory with below command. This command will create

    apache-fineract-0.6.0-binary

    .tar.gz file in /home/user1 directory.
Code Block
languagebash
# cd /home/user1
# tar -zcvf apache-fineract-0.6.0-binary.tar.gz apache-fineract-0.6.0-binary
  • "

    and 

    distributionBaseName = "

    Now move to

    apache-fineract-0.6.0-src

    and remove all git configuration directories/files. Remove bin, catalina.base_IS_UNDEFINED, build directories from fineract-provider directory
  • Remove gradle wrapper jar file from apache-fineract-0.6.0/fineract-provider/gradle/wrapper
  • Remove LICENSE_RELEASE, NOTICE_RELEASE files. Rename LICENSE_SOURCE TO LICENSE and NOTICE_SOURCE to NOTICE. Remove binary directory from licenses directory.
  • Now create source tar file with below command. This command with create apache-fineract-0.6.0-src.tar.gz file in /home/user1 directory.

 

  • "

  • Create the source and binary tars with the following command
Code Block
languagebash
# cd /home/user1
# gradlew clean tarbuild -zcvf apache-fineract-0.6.0-src.tar.gz apache-fineract-0.6.0-src
x test distTar


  • Next step is to create detached signature, checksum with MD5 and SHA with the following commands

...