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
* chore: add npm version script
* docs(CONTRIBUTING): update Releasing new versions section
Add a note that these instructions concern NativeScript Core Team Members.
* docs(CONTRIBUTING): address comments
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+38Lines changed: 38 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ Here are some guides on how to do that:
11
11
-[Requesting Features](#requesting-features)
12
12
-[Submitting a PR](#submitting-a-pr)
13
13
-[Where to Start](#where-to-start)
14
+
-[Publishing new versions](#publishing-new-versions)
14
15
15
16
<!-- /TOC -->
16
17
@@ -76,3 +77,40 @@ It's our turn from there on! We will review the PR and discuss changes you might
76
77
## Where to Start
77
78
78
79
If you want to contribute, but you are not sure where to start - look for [issues labeled `help wanted`](https://github.com/NativeScript/nativescript-angular/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22).
80
+
81
+
82
+
## Publishing new versions
83
+
84
+
Instructions how to publish a new version for Maintainers.
85
+
86
+
1. Execute `npm install` to install dependencies and prepare the package for publishing:
87
+
```bash
88
+
cd nativescript-angular/nativescript-angular
89
+
npm install
90
+
```
91
+
92
+
2. Add the following to your `.npmrc`:
93
+
```
94
+
tag-version-prefix=""
95
+
message="release: cut the %s release"
96
+
```
97
+
98
+
3. Create new branch for the release:
99
+
```bash
100
+
git checkout -b username/release-version
101
+
```
102
+
103
+
4. Execute [`npm version`](https://docs.npmjs.com/cli/version) to bump the version in the `package.json` file, tag the release and update the CHANGELOG.md:
104
+
```bash
105
+
npm version [patch|minor|major]
106
+
```
107
+
108
+
5. Push all the changes to your branch and create a pull request:
0 commit comments