Skip to content

Commit 501e272

Browse files
committed
Add alpha tag to build
1 parent 1691ffa commit 501e272

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/publish-alpha.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ jobs:
3434

3535
- name: Build (Release)
3636
working-directory: src
37-
run: dotnet build --configuration Release --no-restore
37+
run: |
38+
VERSION_SUFFIX="alpha-${{ github.run_number }}"
39+
dotnet build --configuration Release --no-restore \
40+
-p:VersionSuffix="$VERSION_SUFFIX"
41+
-p:ContinuousIntegrationBuild=true
3842

3943
# For <Version>1.2.3</Version>, adds the suffix: <VersionSuffix>alpha-<run_number></VersionSuffix>
4044
- name: Pack with alpha suffix

src/Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1818
<PackageIcon>logo.png</PackageIcon>
1919
<PackageReadmeFile>README.md</PackageReadmeFile>
20-
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
2120
<Deterministic>true</Deterministic>
2221
<GenerateDocumentationFile>false</GenerateDocumentationFile> <!-- TODO: Generate proper
2322
documentation -->

0 commit comments

Comments
 (0)