Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ on:
- "v*.*.*"

jobs:
check_meson_version:
runs-on: ubuntu-22.04
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
steps:
- uses: actions/checkout@v5
- name: install meson and ninja
run: |
pip install --upgrade meson ninja
- name: check meson version
run: |
MESON_VERSION=$(meson introspect meson.build --projectinfo | jq -r '.version')
test "${{ github.ref_name }}" = "v${MESON_VERSION}"

linux:
runs-on: ubuntu-22.04
strategy:
Expand Down Expand Up @@ -125,7 +138,7 @@ jobs:
path: build/qjs-wasi.wasm

upload-to-release:
needs: [linux, macos, windows, wasi]
needs: [linux, macos, windows, wasi, check_meson_version]
runs-on: ubuntu-22.04
steps:
- name: get assets
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project(
'quickjs-ng',
'c',
version: '0.10.1',
version: '0.11.0',
default_options: [
'c_std=gnu11,c11',
'warning_level=3',
Expand Down