diff --git a/.github/workflows/dotnet-release.yml b/.github/workflows/dotnet-release.yml index b69cb76..8d25e36 100644 --- a/.github/workflows/dotnet-release.yml +++ b/.github/workflows/dotnet-release.yml @@ -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 }} @@ -98,7 +98,7 @@ jobs: uses: ncipollo/release-action@v1 with: tag: v${{ steps.date.outputs.date }} - name: Release ${{ github.ref }} v${{ steps.date.outputs.date }} + name: Release ${{ github.ref_name }} v${{ steps.date.outputs.date }} body: ${{ steps.outputs.changelog }} - name: Publish the package to GitHub Feed diff --git a/src/MAOToolkit/MAOToolkit.csproj b/src/MAOToolkit/MAOToolkit.csproj index 15beeca..f4c1af8 100644 --- a/src/MAOToolkit/MAOToolkit.csproj +++ b/src/MAOToolkit/MAOToolkit.csproj @@ -7,7 +7,7 @@ true $([System.DateTime]::UtcNow.ToString(yyyy.MMdd.hhmm-ss)) - 1.$(BuildNumber) + 2.$(BuildNumber) MAOToolkit icon.png