Deployment Process
To deploy a new version of the ATS, follow the steps below:
Create a Pull Request
Open a new pull request with your changes. Ensure that all commits follow the Conventional Commits specification to support automated versioning and changelog generation.Approval and Merge
Once the pull request has been reviewed and approved, merge it into the main branch.Automated Deployment PR Creation
After the merge, therelease-please
tool will automatically open a new pull request. This deployment PR will include version bumps and a generated changelog.Review and Approve the Deployment PR
The deployment pull request requires an additional approval before it can be merged.Merge the Deployment PR
Once the deployment PR is approved and merged, a new release of the ATS will be created in the GitHub repository. This action will also publish a new package version to NPM under @shopware-ag/acceptance-test-suite.Use the New Version
After a short delay, the newly published version will be available on NPM. You can then reference it in your project folders as needed.
Troubleshooting
If you encounter any issues with the automated deployment process, please check the following troubleshooting page of release-please.
In most cases, the problem is related to the commit messages not following the Conventional Commits specification. Make sure to check your commit messages and rebase your branch if necessary. If your PR is merged with a commit message that does not follow the specification, you can do the following:
Create an empty commit to the main branch
bashgit commit --allow-empty -m "chore: release 2.0.0" -m "Release-As: 2.0.0"
When a commit to the main branch has Release-As: x.x.x (case-insensitive) in the commit body, Release Please will open a new pull request for the specified version.
Push the changes
bashgit push origin <your-branch>
Adjust the release notes Remember to adjust the release notes in the deployment PR.