Skip to content

Commit

Permalink
Fix versioning 3
Browse files Browse the repository at this point in the history
  • Loading branch information
7702244 committed Jun 24, 2024
1 parent b8fc949 commit 4fed020
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:

- name: Get current date version
id: date_version
run: echo "date_version=$(date +'%Y.%m%d.%H%M-%S')" >> $GITHUB_OUTPUT
run: echo "date_version=$(date +'%Y.%m%d.%H%M-build-%S')" >> $GITHUB_OUTPUT

- name: Create the package
run: dotnet pack $SOLUTION --configuration Release --no-restore --no-build --verbosity normal /p:PackageVersion=2.${{ steps.date_version.outputs.date_version }}
Expand Down
2 changes: 1 addition & 1 deletion src/MAOToolkit/MAOToolkit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<InvariantGlobalization>true</InvariantGlobalization>

<BuildNumber>$([System.DateTime]::UtcNow.ToString(yyyy.MMdd.hhmm-ss))</BuildNumber>
<VersionPrefix>1.$(BuildNumber)</VersionPrefix>
<VersionPrefix>2.$(BuildNumber)</VersionPrefix>

<PackageId>MAOToolkit</PackageId>
<PackageIcon>icon.png</PackageIcon>
Expand Down

0 comments on commit 4fed020

Please sign in to comment.