You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
> ⚠️ Important: remember to set the right version for each template, tag the release in the GitHub repository and deploy the sample app with the latest changes
32
-
33
-
For each template, execute the release command from its **base folder**. Before this command is executed, a pre-hook will clean all unnecesary development files and folders and copy the hygen templates, before making the npm release
31
+
Follow these steps:
32
+
33
+
1. Open a new branch for the release, eg. release-v1.0.0-rc.2
34
+
2. For each template:
35
+
- launch the app, with `yarn start`
36
+
- test cypress locally, with `yarn cy:run`
37
+
- manual review from browser (see errors & warnings)
38
+
- from template root folder `yarn clean`
39
+
- use create-react-app to build a project
40
+
- test cra project result as a user, including hygen generators
41
+
3. Bump manually package version in package.json (root level --> package.json & inside template --> package.dev.json)
42
+
4. Update changelog: rename 'Unrelased' to new version, eg 1.0.0-rc.2 (2021-03-12)
43
+
5. Push branch to remote to run CI (all test green)
44
+
6. Execute the release command, for each template, from its **base folder**: `yarn release`.
34
45
35
46
```bash
36
-
cd template-sample-app
37
-
yarn release
47
+
cd template-sample-app
48
+
yarn release
38
49
```
50
+
Before this command is executed, a prerelease hook will clean all unnecesary development files and folders and copy the latest hygen templates, before making the npm release.
51
+
7. After a succesful release, merge the PR and create a tag in github
52
+
8. Deploy the sample app template to firebase (if required)
0 commit comments