THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- 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.
- 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.the source and binary tars with the following command
Code Block | ||
---|---|---|
| ||
# cd /home/user1
# tar -zcvf apache-fineract-0.6.0-binary.tar.gz apache-fineract-0.6.0-binary |
...
/ |
...
apache-fineract-0.6.0-src |
...
Code Block | ||
---|---|---|
| ||
# cd /home/user1 # tar -zcvf apache-fineract- # ./gradlew clean build -x test -PdistVersion=0.6.0-src.tar.gz apache-fineract-0.6.0-src distTar |
- Next step is to create detached signature, checksum with MD5 and SHA with the following commands
Code Block | ||
---|---|---|
| ||
# cd fineract-provider/homebuild/user1 distributions # gpg --armor --output apache-fineract-0.6.0-src.tar.gz.asc --detach-sig apache-fineract-0.6.0-src.tar.gz # gpg --print-md MD5 apache-fineract-0.6.0-src.tar.gz > apache-fineract-0.6.0-src.tar.gz.md5 # gpg --print-md SHA512 apache-fineract-0.6.0-src.tar.gz > apache-fineract-0.6.0-src.tar.gz.sha512 # gpg --armor --output apache-fineract-0.6.0--binary.tar.gz.asc --detach-sig apache-fineract-0.6.0-binary.tar.gz # gpg --print-md MD5 apache-fineract-0.6.0-binary.tar.gz > apache-fineract-0.6.0-binary.tar.gz.md5 # gpg --print-md SHA512 apache-fineract-0.6.0-binary.tar.gz > apache-fineract-0.6.0-binary.tar.gz.sha512 |
...