From 3454f6cd994b470d8e8092a59b3dc6d72b305e34 Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Mon, 24 Jan 2022 21:49:05 -0600 Subject: [PATCH] Source-build tweaks to aid release process (#13101) * Source-build tweaks to aid release process * Edit per code review --- .../common/templates/steps/source-build-build-tarball.yml | 2 ++ .../Arcade/tools/SourceBuildArcadeTarball.targets | 4 ++-- src/SourceBuild/tarball/content/build.proj | 3 +-- src/SourceBuild/tarball/content/eng/Versions.props | 5 ----- .../tarball/content/repos/package-source-build.proj | 2 +- 5 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/SourceBuild/Arcade/eng/common/templates/steps/source-build-build-tarball.yml b/src/SourceBuild/Arcade/eng/common/templates/steps/source-build-build-tarball.yml index 981fe31e3..7556b961d 100644 --- a/src/SourceBuild/Arcade/eng/common/templates/steps/source-build-build-tarball.yml +++ b/src/SourceBuild/Arcade/eng/common/templates/steps/source-build-build-tarball.yml @@ -108,3 +108,5 @@ steps: - publish: '${{ parameters.tarballDir }}/artifacts/${{ parameters.buildArch}}/Release/' artifact: $(Agent.JobName)_Artifacts displayName: Publish Artifacts + condition: succeededOrFailed() + continueOnError: true diff --git a/src/SourceBuild/Arcade/tools/SourceBuildArcadeTarball.targets b/src/SourceBuild/Arcade/tools/SourceBuildArcadeTarball.targets index f6d6470a8..76297fd3b 100644 --- a/src/SourceBuild/Arcade/tools/SourceBuildArcadeTarball.targets +++ b/src/SourceBuild/Arcade/tools/SourceBuildArcadeTarball.targets @@ -87,8 +87,8 @@ $(GitHubRepositoryName) - 1.0.0 - 1.0.0 + $(VersionPrefix) + $(VersionPrefix) @(RootRepoCommitSha) @(RootRepoUri) @(RootRepoCommitCount) diff --git a/src/SourceBuild/tarball/content/build.proj b/src/SourceBuild/tarball/content/build.proj index 1b5adfdc5..b8bd6061e 100644 --- a/src/SourceBuild/tarball/content/build.proj +++ b/src/SourceBuild/tarball/content/build.proj @@ -149,8 +149,7 @@ - $(PrivateSourceBuiltPrebuiltsPackageVersionPrefix)$([MSBuild]::Add($(PrivateSourceBuiltPrebuiltsPackageVersionSuffix), 1)) - $(OutputPath)$(SourceBuiltPrebuiltsTarballName).$(TarballFileVersion).tar.gz + $(OutputPath)$(SourceBuiltPrebuiltsTarballName).$(installerOutputPackageVersion).tar.gz $(ResultingPrebuiltPackagesDir) diff --git a/src/SourceBuild/tarball/content/eng/Versions.props b/src/SourceBuild/tarball/content/eng/Versions.props index 1925782b6..df7b892f6 100644 --- a/src/SourceBuild/tarball/content/eng/Versions.props +++ b/src/SourceBuild/tarball/content/eng/Versions.props @@ -9,9 +9,4 @@ 2.2.0 - - - 0.1.0-6.0.100- - 36 - diff --git a/src/SourceBuild/tarball/content/repos/package-source-build.proj b/src/SourceBuild/tarball/content/repos/package-source-build.proj index 96c21c3b7..0101374dc 100644 --- a/src/SourceBuild/tarball/content/repos/package-source-build.proj +++ b/src/SourceBuild/tarball/content/repos/package-source-build.proj @@ -47,7 +47,7 @@ Directories="$(SourceBuildReferencePackagesDestination)extractArtifacts/" /> - $(OutputPath)$(SourceBuiltArtifactsTarballName).$(VersionPrefix)-$(VersionSuffix).tar.gz + $(OutputPath)$(SourceBuiltArtifactsTarballName).$(installerOutputPackageVersion).tar.gz