diff --git a/.scripts/publish-dev-release.yml b/.scripts/publish-dev-release.yml index ce32631321..fe20be4755 100644 --- a/.scripts/publish-dev-release.yml +++ b/.scripts/publish-dev-release.yml @@ -22,5 +22,5 @@ steps: export DEV_VERSION=$(node -p -e "require('./package.json').version")-dev.$BUILD_BUILDNUMBER npm version --no-git-tag-version $DEV_VERSION npm pack - npx publish-release --token $(Github-azuresdkci-personalaccesstoken) --repo autorest.typescript --owner azure --name v$DEV_VERSION --tag v$DEV_VERSION --notes='prerelease build' --prerelease --editRelease false --assets autorest-typescript-$DEV_VERSION.tgz --target_commitish $(Build.SourceBranchName) + npx publish-release --token $(azuresdk-github-pat) --repo autorest.typescript --owner azure --name v$DEV_VERSION --tag v$DEV_VERSION --notes='prerelease build' --prerelease --editRelease false --assets autorest-typescript-$DEV_VERSION.tgz --target_commitish $(Build.SourceBranchName) displayName: 'Publish to GitHub'