Skip to content

Commit

Permalink
Update ADAL library publishing guide (#17488)
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles-Gagnon authored Nov 29, 2022
1 parent b0d5df1 commit 5ddbb86
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/ads-adal-library/PUBLISHING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
These steps should be followed to publish a new version of the package to npmjs.

1. Bump version if needed
2. Download ads-adal-library-X.X.X.tgz package from [Official Build Pipeline](https://mssqltools.visualstudio.com/CrossPlatBuildScripts/_build?definitionId=522) artifacts
3. Run `npm publish <PATH_TO_PACKAGE>/microsoft-ads-adal-library-X.X.X.tgz`
* If you do not have permissions to publish see [Publishing Microsoft scoped packages](https://docs.opensource.microsoft.com/releasing/publish/npm/#publish-microsoft-scoped-packages) to get access
2. Run the [Official Build Pipeline](https://mssqltools.visualstudio.com/CrossPlatBuildScripts/_build?definitionId=522) against main
3. Download ads-adal-library-X.X.X.tgz package from the artifacts of the completed build
4. Run `npm publish <PATH_TO_PACKAGE>/microsoft-ads-adal-library-X.X.X.tgz`
* If you do not have permissions to publish contact the team to get added to the [azure-data-studio](https://www.npmjs.com/settings/microsoft/teams/team/azure-data-studio/users) team on NPM
* See [the docs](https://docs.opensource.microsoft.com/releasing/publish-binaries/npm/#publish-microsoft-scoped-packages) for more info about the publishing process
5. Create a [release](https://github.com/microsoft/vscode-mssql/releases) with a tag pointing to the commit the build is from (should be the latest from main) with a link to the package version that was just released (e.g. https://www.npmjs.com/package/@microsoft/ads-adal-library/v/1.0.15)

0 comments on commit 5ddbb86

Please sign in to comment.