mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00

- rename all references of `tag` to either `gitTag` or `npmTag` based on what they contain since this was confusing throughout - add the code to publish to git as a prerelease if the npm tag is `next` - log the version when asking if the npm tag is correct
Build Scripts
Release
The deploy scripts at the root, make a new release of all the packages in this monorepo. All packages will be released with the same version.
In order to make a new release:
npm run release.prepare
- Review/update changelog
- Commit updates using the package name and version number as the commit message.
npm run release
- 🎉
Prerelease
It's also possible to make prereleases of individual packages (@ionic/core, @ionic/angular). In order to do so, move to the package you want to make a new release and execute:
npm run prerelease
It will publish a new prerelease in NPM, but it will not create any new git tag or update the CHANGELOG.