From 6a5bb42aba6ed505a85ad6ae041c9dffd7f4ab57 Mon Sep 17 00:00:00 2001 From: Mike Smith <10135646+mikesmithgh@users.noreply.github.com> Date: Thu, 21 Mar 2024 10:34:24 -0400 Subject: [PATCH] fix: move publishCmd to semantic release github closes #32 --- .github/workflows/test_release.yml | 2 +- .releaserc | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test_release.yml b/.github/workflows/test_release.yml index 8e13bd6..5487e00 100644 --- a/.github/workflows/test_release.yml +++ b/.github/workflows/test_release.yml @@ -84,7 +84,7 @@ jobs: - name: Semantic Release run: | - npm install @semantic-release/git @semantic-release/changelog @semantic-release/exec -D + npm install @semantic-release/git @semantic-release/changelog -D npx semantic-release env: GH_TOKEN: ${{ secrets.BGPS_CI_TOKEN }} diff --git a/.releaserc b/.releaserc index c48a8bf..9d55f47 100644 --- a/.releaserc +++ b/.releaserc @@ -19,13 +19,10 @@ } ], [ - "@semantic-release/exec", + "@semantic-release/github", { "publishCmd": "./scripts/release_publish.sh \"${nextRelease.notes}\"" } ], - [ - "@semantic-release/github" - ] ] }