| = Step 8: Upload Distribution Staging |
| |
| == Description |
| |
| Next we'll stage the release candidate. Create a new folder and add these files: |
| |
| * apache-fineract-bin-{revnumber}.tar.gz |
| * apache-fineract-bin-{revnumber}.tar.gz.sha512 |
| * apache-fineract-bin-{revnumber}.tar.gz.asc |
| * apache-fineract-src-{revnumber}.tar.gz |
| * apache-fineract-src-{revnumber}.tar.gz.sha512 |
| * apache-fineract-src-{revnumber}.tar.gz.asc |
| |
| These files (or "artifacts") comprise the release candidate. Upload these files to https://www.apache.org/legal/release-policy.html#stage[ASF's distribution dev/staging area] like so: |
| |
| [source,bash,subs="attributes+"] |
| ---- |
| # this is a remote operation |
| svn mkdir https://dist.apache.org/repos/dist/dev/fineract/{revnumber} |
| # create local svn-tracked folder "{revnumber}" |
| svn checkout https://dist.apache.org/repos/dist/dev/fineract/{revnumber} |
| # prepare to upload |
| cp path/to/new/folder/* {revnumber}/ |
| cd {revnumber}/ |
| # actual upload occurs here |
| svn add * && svn commit |
| ---- |
| |
| NOTE: You will need your ASF Committer credentials to be able to access the Subversion host at `dist.apache.org`. |
| |
| == Gradle Task |
| |
| .Command |
| [source,bash,subs="attributes+,+macros"] |
| ---- |
| ./gradlew fineractReleaseStep8 -Pfineract.release.version={revnumber} |
| ---- |
| |
| CAUTION: This task is inefficient. Follow `svn mkdir` and other manual steps above. |