Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit 053abfc

Browse files
committed
Updating build specs
1 parent e14c6f6 commit 053abfc

File tree

1 file changed

+22
-11
lines changed

1 file changed

+22
-11
lines changed

specs/release-streams.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,17 @@ Use the [Typescript Team](https://www.npmjs.com/package/typescript) as inspirati
99

1010
# Versioning
1111

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}
1715

1816
# 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+
```
2123

2224
This means developers could install the cli by running
2325

@@ -28,7 +30,11 @@ npm i -g @microsoft/botframework-cli@next
2830
# RC Builds
2931
Copying what the typescript team does, all our NPM packages would be pushed with the rc tag to NPM manually triggered.
3032
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+
```
3238

3339
This means developers could install the cli by running
3440

@@ -38,7 +44,12 @@ npm i -g @microsoft/botframework-cli@rc
3844

3945
# Production Release
4046
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+
```
4253

4354
This means developers could install the cli by running
4455

@@ -47,11 +58,11 @@ npm i -g @microsoft/botframework-cli
4758
```
4859

4960
# 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.
5162

5263

5364
# Migration from MyGet
5465

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.
5667
2. Our docs are updated once builds are in both locations.
5768
3. Towards the end of 2020, we stop publising to MyGet.

0 commit comments

Comments
 (0)