diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index eef5aff2..59129b28 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -38,7 +38,7 @@ jobs: shell: pwsh run: | $doc = [XML](Get-Content 'Source\Directory.Build.props') - echo "version=$($doc.Project.PropertyGroup.Version) >> $GITHUB_OUTPUT" + echo "version=$($doc.Project.PropertyGroup.Version)" >> $GITHUB_OUTPUT - name: Install dependencies run: dotnet restore ReactiveProperty.sln - name: Build @@ -80,8 +80,8 @@ jobs: - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "v${{ needs.build.outputs.version }}" + automatic_release_tag: ${{ needs.build.outputs.version }} prerelease: ${{ contains(needs.build.outputs.version, '-pre') }} - title: "Release v${{ needs.build.outputs.version }}" + title: Release ${{ needs.build.outputs.version }} files: | dist/*.nupkg