Skip to content

Commit

Permalink
Fix package artifact relative path in publish.yaml (Azure#3742)
Browse files Browse the repository at this point in the history
  • Loading branch information
daviwil authored Dec 16, 2020
1 parent e9bee37 commit 2889895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .scripts/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ steps:
# publish autorest cli and beta (@autorest/autorest)
cd packages/apps/autorest
v=`node -e "console.log(require('./package.json').version)"`
publish-release --token $(azuresdk-github-pat) --repo autorest --owner azure --name autorest-$v --tag autorest-$v --notes='prerelease build' --prerelease --editRelease false --assets ../common/temp/artifacts/packages/autorest-$v.tgz --target_commitish $(Build.SourceBranchName)
publish-release --token $(azuresdk-github-pat) --repo autorest --owner azure --name autorest-$v --tag autorest-$v --notes='prerelease build' --prerelease --editRelease false --assets ../../../common/temp/artifacts/packages/autorest-$v.tgz --target_commitish $(Build.SourceBranchName)
cd ../../..
# publish autorest core
cd packages/extensions/core
v=`node -e "console.log(require('./package.json').version)"`
publish-release --token $(azuresdk-github-pat) --repo autorest --owner azure --name autorest-core-$v --tag autorest-core-$v --notes='prerelease build' --prerelease --editRelease false --assets ../common/temp/artifacts/packages/autorest-core-$v.tgz --target_commitish $(Build.SourceBranchName)
publish-release --token $(azuresdk-github-pat) --repo autorest --owner azure --name autorest-core-$v --tag autorest-core-$v --notes='prerelease build' --prerelease --editRelease false --assets ../../../common/temp/artifacts/packages/autorest-core-$v.tgz --target_commitish $(Build.SourceBranchName)
cd ../../..

0 comments on commit 2889895

Please sign in to comment.