diff --git a/.github/workflows/build-and-publish-pre-release.yml b/.github/workflows/build-and-publish-pre-release.yml index f89f2201..b01d617b 100644 --- a/.github/workflows/build-and-publish-pre-release.yml +++ b/.github/workflows/build-and-publish-pre-release.yml @@ -45,13 +45,12 @@ jobs: - name: Install Multi-Push Tool run: dotnet tool install --local Credfeto.Package.Push - name: Set Define Build Version - run: dotnet buildversion $GITHUB_RUN_NUMBER + run: dotnet buildversion --BuildNumber $GITHUB_RUN_NUMBER - name: Install Changelog Tool run: dotnet tool install --local Credfeto.Changelog.Cmd - name: Create Release Notes run: | - echo Hello > RELEASE_NOTES.md -# dotnet changelog --changelog CHANGELOG.md --extract RELEASE_NOTES.md --version ${{ env.BUILD_VERSION }} + dotnet changelog --changelog CHANGELOG.md --extract RELEASE_NOTES.md --version ${{ env.BUILD_VERSION }} - id: release-notes uses: juliangruber/read-file-action@v1 with: diff --git a/.github/workflows/build-and-publish-release.yml b/.github/workflows/build-and-publish-release.yml index cac7ab24..881a4f0c 100644 --- a/.github/workflows/build-and-publish-release.yml +++ b/.github/workflows/build-and-publish-release.yml @@ -39,7 +39,7 @@ jobs: - name: Install Changelog Tool run: dotnet tool install --local Credfeto.Changelog.Cmd - name: Set Define Build Version - run: dotnet buildversion $GITHUB_RUN_NUMBER + run: dotnet buildversion --BuildNumber $GITHUB_RUN_NUMBER - name: Create Release Notes run: | dotnet changelog --changelog CHANGELOG.md --extract RELEASE_NOTES.md --version ${{ env.BUILD_VERSION }}