Skip to content

Commit

Permalink
Update Contributing.md for Prepare Release Section (#18441)
Browse files Browse the repository at this point in the history
* Update Contributing.md

* Remove eng/scripts/Prepare-Release.ps1
  • Loading branch information
chidozieononiwu authored Feb 9, 2021
1 parent 1f88c0d commit 3d7f5ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 300 deletions.
7 changes: 2 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,17 +292,14 @@ To consume the a dev package set the exact version in your project or to consume

## Preparing to a release of the new library

To update the CHANGELOG, version and release tracking information use the `.\eng\scripts\Prepare-Release.ps1` script.

The syntax is `.\eng\scripts\Prepare-Release.ps1 <package_name>`. The script would ask you for a new version or `NA` if you are not releasing in this cycle.
To prepare a package for release you should make use of `.\eng\common\scripts\Prepare-Release.ps1` script passing it appropriate arguments for the package intended for release as well as the release date. This script will correctly update the package version in the repo as well as update DevOps release work items for that release.

If you are releasing out-of-band please use the `-ReleaseDate` parameter to specify the release data. `ReleaseDate` should be in `yyyy-MM-dd` format.

Example invocations:

```powershell
.\eng\scripts\Prepare-Release.ps1 Azure.Core
.\eng\scripts\Prepare-Release.ps1 Azure.Core -ReleaseDate 2020-10-01
.\eng\scripts\Prepare-Release.ps1 -PackageName "Azure.Core" -SerivceDirectory "core" -ReleaseDate "2020-10-01"
```

## On-boarding New Libraries
Expand Down
295 changes: 0 additions & 295 deletions eng/scripts/Prepare-Release.ps1

This file was deleted.

0 comments on commit 3d7f5ad

Please sign in to comment.