The package is used to release major version for framework and packages. The release process is very complex, so we built this package to save time.
- Set the
GITHUB_TOKENenvironment variable in the.envfile to your GitHub token first.
Github link: https://github.com/settings/personal-access-tokens
Required accesses: Contents, Pull requests.
- Preview the release process:
./artisan release major --framework=v1.16.0 --packages=v1.4.0
- After previewing the release process, you can release the major version actually:
./artisan release major --framework=v1.16.0 --packages=v1.4.0 --real
Run command below to run test:
go test ./...