-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
41 lines (35 loc) · 1.87 KB
/
Copy pathDirectory.Build.props
File metadata and controls
41 lines (35 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<Project>
<PropertyGroup>
<Product>GenerateBaseConfigs</Product>
<AssemblyTitle>$(Product)</AssemblyTitle>
<Description>Creates and maintains app.base.config files for Dayforce acceptance test projects.</Description>
<Team>Release Engineering</Team>
</PropertyGroup>
<!-- Version: bump GenerateBaseConfigsVersion before pushing a rel/x.y.z branch -->
<PropertyGroup>
<GenerateBaseConfigsVersion>1.0.0</GenerateBaseConfigsVersion>
<IsReleaseBranch>false</IsReleaseBranch>
</PropertyGroup>
<PropertyGroup>
<ReleaseBranchRegex>^rel/(\d+\.\d+\.\d+)$</ReleaseBranchRegex>
<IsReleaseBranch Condition="'$(GITHUB_EVENT_NAME)' == 'push' AND '$(GITHUB_REF_NAME)' != ''">$([System.Text.RegularExpressions.Regex]::IsMatch('$(GITHUB_REF_NAME)', '$(ReleaseBranchRegex)'))</IsReleaseBranch>
</PropertyGroup>
<PropertyGroup>
<VersionPrefix>$(GenerateBaseConfigsVersion)</VersionPrefix>
<!-- alpha on all pushes; pr on pull_request; empty on rel/ branch push -->
<VersionSuffix Condition="'$(GITHUB_EVENT_NAME)' == 'push' AND '$(IsReleaseBranch)' != 'true'">alpha</VersionSuffix>
<VersionSuffix Condition="'$(GITHUB_EVENT_NAME)' == 'pull_request'">pr</VersionSuffix>
</PropertyGroup>
<!-- Place all .nupkg files in artifacts/ at repo root -->
<PropertyGroup>
<PackageOutputPath>$(MSBuildThisFileDirectory)artifacts/</PackageOutputPath>
</PropertyGroup>
<!-- Deterministic/reproducible builds in CI -->
<PropertyGroup>
<ContinuousIntegrationBuild Condition="'$(GITHUB_RUN_ID)' != ''">true</ContinuousIntegrationBuild>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<RepositoryUrl>https://github.com/dayforce-hcm/generate-base-configs</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
<Import Project="$(MSBuildThisFileDirectory)\Directory.Build.Template.props" Condition="'$(TF_BUILD)' != ''"/>
</Project>