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 15, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: specs/release-streams.md
+22-11Lines changed: 22 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,15 +9,17 @@ Use the [Typescript Team](https://www.npmjs.com/package/typescript) as inspirati
9
9
10
10
# Versioning
11
11
12
-
The tags we use for preview versions are:
13
-
* -preview.<yyyymmdd>
14
-
* -rc.{0}
15
-
16
-
Note: use of "." rather than "-" to follow semver2 sorting rules.
12
+
The versioning will be as follow:
13
+
* -dev.<7-digit-commit-SHA>
14
+
* -rc.{Number}
17
15
18
16
# Daily Builds
19
-
Copying what the typescript team does, all our NPM packages would be pushed with the next tag to NPM on a daily basis at 2am .
20
-
Build will be done from master. And triggered only once a day
17
+
Copying what the typescript team does, all our NPM packages would be pushed with the next tag to NPM on a daily basis at 12am .
18
+
(Build)[https://github.com/microsoft/botframework-cli/blob/master/build/botframework-cli-daily.yml] will be done from master. And triggered only once a day. (Release)[https://fuselabs.visualstudio.com/SDK_Public/_release?_a=releases&view=mine&definitionId=7] will be triggered on every time a new build is available.
19
+
20
+
```
21
+
npm publish [<tarball>|<folder>] --tag next
22
+
```
21
23
22
24
This means developers could install the cli by running
23
25
@@ -28,7 +30,11 @@ npm i -g @microsoft/botframework-cli@next
28
30
# RC Builds
29
31
Copying what the typescript team does, all our NPM packages would be pushed with the rc tag to NPM manually triggered.
30
32
Build will be done from manually selected branch.
31
-
Build should be the exact same as daily but with different triggers.
33
+
Release should be manually triggered with the selected build.
34
+
35
+
```
36
+
npm publish [<tarball>|<folder>] --tag rc
37
+
```
32
38
33
39
This means developers could install the cli by running
34
40
@@ -38,7 +44,12 @@ npm i -g @microsoft/botframework-cli@rc
38
44
39
45
# Production Release
40
46
Once RC is stable the production release will switch the tag from rc to latest.
41
-
No new build is needed. Only re tagging latest RC
47
+
No new build is needed. Only re tagging latest RC.
48
+
Production build should be pointed to the latest stable RC, go through all the packages and re tag them to be latest.
49
+
50
+
```
51
+
npm dist-tag add <pkg>@<version> latest
52
+
```
42
53
43
54
This means developers could install the cli by running
44
55
@@ -47,11 +58,11 @@ npm i -g @microsoft/botframework-cli
47
58
```
48
59
49
60
# PR Builds
50
-
Build should be the exact same as daily triggered on PR commits. No publish should be done.
61
+
Build should be triggered on PR commits. No publish should be done.
51
62
52
63
53
64
# Migration from MyGet
54
65
55
-
1. Initially, our daily builds should go to both MyGet and Azure Devops.
66
+
1. Initially, our daily builds should go to both MyGet and NPM.
56
67
2. Our docs are updated once builds are in both locations.
57
68
3. Towards the end of 2020, we stop publising to MyGet.
0 commit comments