From eb3e1cb15ed07c48abe9d4f9486a3057bace5c2b Mon Sep 17 00:00:00 2001 From: Ivan Josipovic <9521987+IvanJosipovic@users.noreply.github.com> Date: Sat, 14 Aug 2021 18:39:41 -0700 Subject: [PATCH] Chore: CI/CD fixes (#348) * chore: fixed branch types * chore: fixed ci versioning --- .github/workflows/release.yml | 2 +- .releaserc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84540bac..f2b3f7c6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,7 +70,7 @@ jobs: - name: Dotnet Pack if: steps.semantic.outputs.new_release_published == 'true' working-directory: src/BlazorTable - run: dotnet pack -c Release -p:Version=${{ steps.version.outputs.new_tag }} + run: dotnet pack -c Release -p:Version=${{ steps.semantic.outputs.new_release_version }} - name: Dotnet Nuget Push if: steps.semantic.outputs.new_release_published == 'true' diff --git a/.releaserc b/.releaserc index ea2a4ad1..f25d4f48 100644 --- a/.releaserc +++ b/.releaserc @@ -1,5 +1,5 @@ { - "branches": ["master", "beta", "alpha"], + "branches": ["master", {name: 'beta', prerelease: true}, {name: 'alpha', prerelease: true}], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator",