mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
Only publish protobuf zip from Linux (#5438)
Last release attempt failed because when we tried to publish it from macos it was already published from Linux. Also includes a fix for the name of the zip. changelog_begin changelog_end
This commit is contained in:
parent
06ef97d6a8
commit
30f2c7421a
@ -77,7 +77,7 @@ steps:
|
||||
TARBALL=daml-sdk-${{parameters.release_tag}}-${{parameters.name}}.tar.gz
|
||||
cp bazel-bin/release/sdk-release-tarball.tar.gz $(Build.StagingDirectory)/$TARBALL
|
||||
echo "##vso[task.setvariable variable=tarball;isOutput=true]$TARBALL"
|
||||
PROTOS_ZIP=protobufs-{{parameters.release_tag}}.tar.gz
|
||||
PROTOS_ZIP=protobufs-${{parameters.release_tag}}.tar.gz
|
||||
cp bazel-bin/release/protobufs.zip $(Build.StagingDirectory)/$PROTOS_ZIP
|
||||
echo "##vso[task.setvariable variable=protos-zip;isOutput=true]$PROTOS_ZIP"
|
||||
name: publish
|
||||
@ -97,4 +97,5 @@ steps:
|
||||
artifactName: $(publish.protos-zip)
|
||||
condition: and(succeeded(),
|
||||
eq(${{parameters.is_release}}, 'true'),
|
||||
eq(variables['Build.SourceBranchName'], 'master'))
|
||||
eq(variables['Build.SourceBranchName'], 'master'),
|
||||
eq('${{parameters.name}}', 'linux'))
|
||||
|
Loading…
Reference in New Issue
Block a user