Skip to content

Commit

Permalink
Merge pull request #16 from episerver/develop
Browse files Browse the repository at this point in the history
Create devbuild packages when build is debug (#15)
  • Loading branch information
tidyui authored Feb 25, 2022
2 parents 0356f80 + bb9ffa6 commit da2b561
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration $env:buildConfiguration --version-suffix ""
run: dotnet build --no-restore --configuration $env:buildConfiguration
- name: Test
run: dotnet test --no-build --configuration $env:buildConfiguration
- name: Pack
run: dotnet pack --no-build --configuration $env:buildConfiguration --version-suffix ""
run: dotnet pack --no-build --configuration $env:buildConfiguration
- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion build/version.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<Project>
<PropertyGroup>
<VersionPrefix>1.0.0</VersionPrefix>
<VersionSuffix>devbuild</VersionSuffix>
<VersionSuffix Condition="'$(Configuration)' == 'Debug'">devbuild</VersionSuffix>
</PropertyGroup>
</Project>

0 comments on commit da2b561

Please sign in to comment.