Skip to content

Commit

Permalink
Only publish protobuf zip from Linux (#5438)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cocreature committed Apr 4, 2020
1 parent 06ef97d commit 30f2c74
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/build-unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'))

0 comments on commit 30f2c74

Please sign in to comment.