diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 66eb8afdd2700798f92bd0a823f2eef71a12d1e3..4b7e9493daa15994b5c4546151783f016dc7ecf3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -33,7 +33,7 @@ jobs: updateAssemblyInfo: true useConfigFile: true configFilePath: src/GitVersion.yaml - + - run: | echo "FullSemVer (env.fullSemVer) : ${{ env.fullSemVer }}" name: Display GitVersion variables (without prefix) @@ -50,12 +50,16 @@ jobs: echo "FullSemVer (steps.gitversion.outputs.GitVersion_FullSemVer) : ${{ steps.gitversion.outputs.GitVersion_FullSemVer }}" name: Display GitVersion outputs (step output with prefix) - # - name: Build & Pack - # run: | - # dotnet restore - # dotnet build --configuration Release --no-restore - # dotnet pack src/NebulaBus.csproj -p:PackageVersion=${{ env.VERSION }} --output nupkgs + - name: Build & Pack + run: | + dotnet restore + dotnet build --configuration Release --no-restore + dotnet pack src/NebulaBus.csproj -p:PackageVersion=${{ steps.gitversion.outputs.GitVersion_FullSemVer }} --output nupkgs + - name: Show Package + run: | + cd nupkgs + ls -l # - name: Push to NuGet # run: dotnet nuget push "nupkgs/*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json diff --git a/src/GitVersion.yaml b/src/GitVersion.yaml index 2c79a4e06732daba87e4657d440287b6de79d90d..6b6cfb50bc02581aed61c62c0d1edea22b67a222 100644 --- a/src/GitVersion.yaml +++ b/src/GitVersion.yaml @@ -1,5 +1,7 @@ -next-version: 1.0.0 +next-version: 1.0.0 +mode: ContinuousDelivery +assembly-file-versioning-scheme: MajorMinorPatchTag branches: release: - increment: Major + increment: Patch tag: '' \ No newline at end of file