A few things are missing from the setup that would make things far far better:
Diff the generated IFSC.json against the one in the repo. If there are changes, throw a notification on Slack
Have a tag-initiated release workflow on wercker. Only trigger on a tag push, create a new release on GitHub.
Setup a release template. Use some cut/awk/sed magic on top of git diff -U0|grep IFSC | sort -u against the latest IFSC-API master to generate a diff of the list of IFSC codes.
Make sure that all the usual files are uploaded on the release and that it remains in draft stage
Have a check in the release pipeline to ensure package.json matches the tag
Run npm publish as well?
Release Template
Should include:
Diff of IFSC codes (if any). Otherwise state: "No metadata changes"
A cute animal picture. Or leave it as a TODO for the person who does the final release
A summary of any new banks that were added in this new release. Diff banknames.json for this.
A total counter summary of additions and removals for this release
The date the release was done by RBI and us (RBI comes from the website itself).
A few things are missing from the setup that would make things far far better:
IFSC.json
against the one in the repo. If there are changes, throw a notification on Slackrelease
workflow on wercker. Only trigger on a tag push, create a new release on GitHub.git diff -U0|grep IFSC | sort -u
against the latest IFSC-APImaster
to generate a diff of the list of IFSC codes.npm publish
as well?Release Template
Should include:
banknames.json
for this.