This project is based on Mulesoft Dataweave and Salesforce to provide secure, reliable, API access for all the Scores apps and projects. It is hosted on Anypoint and acts as the transactional hub, in concert with the authentication API
production-on-push-build-and-deploy.yml - Deployment of the Mule app to the Production environment. Unlike the Sandbox, the production has disabled validation of requests and a step to publish a new release of the app.
version.sh - A script to determine the version for the new release.
disable-validation.sh
How the script version.sh works:
The script looks at the previous commit message and fetches a keyword from it to determine the version increment:
Major: Indicates a breaking change. (e.g., 1.0.0 -> 2.0.0)
git commit -m "Breaking change to API (major)"
Minor: Indicates a new feature or enhancement. (e.g., 1.0.0 -> 1.1.0)
git commit -m "Add new feature to API (minor)"
Patch: Indicates a bug fix or small change. (e.g., 1.0.0 -> 1.0.1)
Description:
This PR includes 3 new files:
production-on-push-build-and-deploy.yml
- Deployment of the Mule app to the Production environment. Unlike the Sandbox, the production has disabled validation of requests and a step to publish a new release of the app.version.sh
- A script to determine the version for the new release.disable-validation.sh
How the script
version.sh
works:The script looks at the previous commit message and fetches a keyword from it to determine the version increment: