Skip to content

Commit

Permalink
chore: prepare clients for 0.3.0 release (#19)
Browse files Browse the repository at this point in the history
* chore: bump client version

* cleanup(ci): require VERSION argument to `make release`

* chore(ci): use ocaml 5.1 for releases
  • Loading branch information
zshipko authored Apr 11, 2024
1 parent b9c41bd commit 785d796
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,14 @@ jobs:
ocaml-compiler: '${{ matrix.ocaml-compiler }}'
- run: opam install . --deps-only -y
- name: 'Make release'
run: opam exec -- make release TARGET=${{ matrix.target }}
run: |
version="${{ github.ref }}"
if [[ "$version" = "refs/heads/main" ]]; then
version="main"
else
version="${version/refs\/tags\/v/}"
fi
opam exec -- make release VERSION=${version} TARGET=${{ matrix.target }}
- name: Upload Artifact to Release
uses: softprops/action-gh-release@v1
with:
Expand All @@ -52,7 +59,7 @@ jobs:
fail-fast: true
matrix:
ocaml-compiler:
- 5.0.0
- 5.1
os:
- macos-latest
- ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PREFIX?=/usr/local
VERSION=0.2
VERSION?=main
TARGET?=$(shell uname -m)
UNAME_S:=$(shell uname -s | tr '[:upper:]' '[:lower:]')
ifeq ($(UNAME_S),darwin)
Expand Down
2 changes: 1 addition & 1 deletion client/js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dylibso/wasmstore",
"version": "0.2.0",
"version": "0.3.0",
"description": "Wasmstore client",
"main": "wasmstore.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion client/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "wasmstore"
version = "0.2.0"
version = "0.3.0"
description = "Wasmstore client for Python"
authors = ["Dylibso <[email protected]>"]
license = "BSD-3-Clause"
Expand Down
2 changes: 1 addition & 1 deletion client/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmstore-client"
version = "0.2.0"
version = "0.3.0"
edition = "2021"
description = "Wasmstore client"
authors = ["Dylibso Inc", "[email protected]"]
Expand Down

0 comments on commit 785d796

Please sign in to comment.