Skip to content

v0.1.3 — add display_name #4

v0.1.3 — add display_name

v0.1.3 — add display_name #4

Workflow file for this run

name: Build MCPB Bundle
on:
release:
types: [published]
permissions:
contents: write
id-token: write
jobs:
build:
strategy:
matrix:
include:
- os: linux
arch: amd64
runner: ubuntu-latest
- os: linux
arch: arm64
runner: ubuntu-24.04-arm
- os: darwin
arch: arm64
runner: macos-latest
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- name: Update version in manifests
run: |
VERSION="${{ github.event.release.tag_name }}"
VERSION="${VERSION#v}"
jq --arg v "$VERSION" '.version = $v' manifest.json > manifest.tmp.json && mv manifest.tmp.json manifest.json
- uses: NimbleBrainInc/mcpb-pack@v3
with:
output: "{name}-{version}-${{ matrix.os }}-${{ matrix.arch }}.mcpb"