Commits to master use the Conventional Commits Specification. Admins select the Squash and Merge option when merging in Pull Requests and rename the commit to follow the format: type(scope): description.
Examples:
feat(Candidate): Added field 'xyz'
fix(To-Many Associations): fixed xyz
chore(cleanup): cleaned up xyz
Standard-Version is used to calculate the version number based on the standard commits on
master since the last tagged version. It also updates the pom.xml
version, generates the CHANGELOG.md
file, and pushes tags to master,
which tells TravisCI to generate the build artifacts and publish them to the GitHub release.
-
Checkout master
-
Run release script:
npm run release
. This will create a new commit and push to master. -
Wait for all Travis CI builds to complete. Once finished, it will create the draft release and attach installers.
-
Create wiki zipfile (PDFs of the wiki pages)
-
Clone the wiki repo:
git clone https://github.com/bullhorn/dataloader.wiki.git
-
Download conversion utilities:
npm install
-
Create wiki.zip file:
npm start
-
-
Update GitHub Release
-
Copy the generated release notes for the latest version from
CHANGELOG.md
. -
On the Latest Release click
Edit release
and paste in the copied release notes. -
In the "Attach Binaries" section of the release page, attach the wiki package file:
wiki.zip
-
-
Post a Slack message in
#sme_data_loader
that the new release is available with the release notes.