Skip to content

Commit

Permalink
Fix: package names
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm committed Mar 10, 2024
1 parent bdc22fb commit 021b89a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gh-release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/mame-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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*//')
Expand Down

0 comments on commit 021b89a

Please sign in to comment.