From 021b89afd1c7c72d213ba93ad0573b7bf334dce7 Mon Sep 17 00:00:00 2001 From: Christian Emmer <10749361+emmercm@users.noreply.github.com> Date: Sun, 10 Mar 2024 14:08:05 -0700 Subject: [PATCH] Fix: package names --- .github/workflows/gh-release-drafter.yml | 3 +-- .github/workflows/mame-build.yml | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/gh-release-drafter.yml b/.github/workflows/gh-release-drafter.yml index 4db34c6..e8b7f83 100644 --- a/.github/workflows/gh-release-drafter.yml +++ b/.github/workflows/gh-release-drafter.yml @@ -36,13 +36,12 @@ jobs: - id: check uses: EndBug/version-check@v2 with: - token: ${{ secrets.GITHUB_TOKEN }} # NOTE: `diff-search:true` is preferred so that only the exact commit that bumps the # version triggers this workflow, but `workflow_dispatch` doesn't carry commit or # commit ref info that's needed for it. diff-search: ${{ github.event_name != 'workflow_dispatch' && true || false }} static-checking: ${{ github.event_name == 'workflow_dispatch' && 'localIsNew' || '' }} - file-url: ${{ github.event_name == 'workflow_dispatch' && 'https://unpkg.com/igir/package.json' || '' }} + file-url: ${{ github.event_name == 'workflow_dispatch' && 'https://unpkg.com/chdman-js/package.json' || '' }} - if: steps.check.outputs.changed == 'true' uses: volta-cli/action@v4 diff --git a/.github/workflows/mame-build.yml b/.github/workflows/mame-build.yml index f514cdd..76e4540 100644 --- a/.github/workflows/mame-build.yml +++ b/.github/workflows/mame-build.yml @@ -221,7 +221,6 @@ jobs: - id: bump-and-commit run: | package_name=$(jq --raw-output '.name' package.json) - package_name=igir major_version=$(npm show "${package_name}" --json | jq --raw-output '.versions | .[]' | sed 's/\.[0-9]*//g' | sort | tail -1) # shellcheck disable=SC2001 minor_version=$(echo "${MAME_REF}" | sed 's/[^0-9]*//g' | sed 's/^0*//')