From 9b72ce09bee678425e4463c05c1d8caab0925798 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 12 Oct 2018 08:10:08 -0400 Subject: [PATCH] Change artifact directory from installers to distribution --- TODO | 3 +++ azure-pipelines.yml | 4 ++-- azure-pipelines/build-windows | 8 +++----- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/TODO b/TODO index 82e8a36e..fecb1578 100644 --- a/TODO +++ b/TODO @@ -3,6 +3,9 @@ Azure Pipelines * Work make_dist and building of the app image into the pipeline so I can use the pipeline to create all the official release files. + Append -ci to the names and include the sha256sum in the output. + The official release process will be to take the artifacts from the + release commit on master, verify the checksums, and rename. Soon ==== diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 16a79fb6..31881ecc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -44,8 +44,8 @@ jobs: displayName: 'Build, test, generate binary distributions' - task: PublishBuildArtifacts@1 inputs: - pathtoPublish: '$(System.DefaultWorkingDirectory)/installers' - artifactName: installers + pathtoPublish: '$(System.DefaultWorkingDirectory)/distribution' + artifactName: distribution displayName: 'Upload binary distributions' condition: eq(variables['System.PullRequest.IsFork'], 'False') dependsOn: Linux diff --git a/azure-pipelines/build-windows b/azure-pipelines/build-windows index 85fbceb2..c69e6499 100755 --- a/azure-pipelines/build-windows +++ b/azure-pipelines/build-windows @@ -35,8 +35,6 @@ make install v=`(cd $installdir; ls -d qpdf-*)` cp -p README-windows-install.txt $installdir/$v/README.txt -mkdir installers -(cd $installdir; zip -r ../installers/$v-bin-$tool$wordsize.zip $v) - -set +x -ls -l installers +mkdir distribution +(cd $installdir; zip -r ../distribution/$v-bin-$tool$wordsize-ci.zip $v) +sha256sum distribution/*