Skip to content

Commit 16310c6

Browse files
committed
Merge branch 'heads/main' into fix-create-fast
2 parents caddc49 + 26e7671 commit 16310c6

49 files changed

Lines changed: 3767 additions & 745 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 30 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
name: Prerelease tvm-cli
1+
name: Release tvm-cli
22

33
on:
44
push:
5+
# NOTE: if tag has -rc in it, it will be considered a release candidate
6+
# and will trigger prerelease true
57
tags:
68
- 'v[0-9]+.[0-9]+.[0-9]+'
79
- 'v[0-9]+.[0-9]+.[0-9]+.an'
@@ -152,9 +154,9 @@ jobs:
152154
needs:
153155
- build
154156
runs-on: ubuntu-latest
155-
strategy:
156-
matrix:
157-
suffix: [macos-arm64, macos-amd64, linux-musl-arm64, linux-musl-amd64, arm64, x86_64]
157+
158+
env:
159+
SUFFIXES: macos-arm64 macos-amd64 linux-musl-arm64 linux-musl-amd64 arm64 x86_64
158160

159161
steps:
160162
- name: Download all artifacts
@@ -163,22 +165,35 @@ jobs:
163165
- name: Display structure of downloaded files
164166
run: ls -R
165167

166-
- name: Make archive
168+
- name: Make archives
167169
run: |
168-
chmod +x artifacts-${{ matrix.suffix }}/*
170+
set -e
169171
tag_name=$(echo "${{ github.ref_name }}" | sed 's/^v//')
170-
cd artifacts-${{ matrix.suffix }}
171-
for file in *; do
172-
tar -czvf "$file"-"$tag_name"-${{ matrix.suffix }}.tar.gz $file
172+
for suffix in $SUFFIXES; do
173+
chmod +x artifacts-"$suffix"/*
174+
cd artifacts-"$suffix"
175+
for file in *; do
176+
tar -czvf "$file"-"$tag_name"-"$suffix".tar.gz $file
177+
done
178+
cd ..
179+
ls -lA artifacts-"$suffix"
173180
done
174-
ls -lA
175181
176-
- name: Upload Prerelease
177-
uses: softprops/action-gh-release@v1
182+
- name: Set prerelease flag
183+
id: prerelease
184+
run: |
185+
if [[ "${GITHUB_REF_NAME}" =~ -rc ]]; then
186+
echo "PRERELEASE=true" >> $GITHUB_OUTPUT
187+
else
188+
echo "PRERELEASE=false" >> $GITHUB_OUTPUT
189+
fi
190+
191+
- name: Release
192+
uses: softprops/action-gh-release@v2
178193
with:
179-
prerelease: true
180-
tag_name: ${{ github.ref_name }}
194+
prerelease: ${{ steps.prerelease.outputs.PRERELEASE }}
195+
tag_name: ${{ github.ref_name }}-${{ github.run_number }}
181196
files: |
182-
artifacts-${{ matrix.suffix }}/*.tar.gz
197+
artifacts-*/**.tar.gz
183198
name: "Version: ${{ github.ref_name }}"
184199
body: ""

.github/workflows/rust.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ on: [push, pull_request]
22

33
name: Lint and Test
44

5+
concurrency:
6+
group: lint-and-test-${{ github.sha }}
7+
cancel-in-progress: true
8+
59
jobs:
610
clippy:
711
name: Clippy

CHANGELOG.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,47 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## [2.17.0] - 2025-06-06
5+
## [2.18.3] - 2025-07-08
6+
7+
### Changed
8+
- Changed `api.json` file. Added properties related to module account.
9+
10+
11+
## [2.18.2] - 2025-07-04
12+
13+
### Fixes
14+
- Fixed `runwasm` and `runwasmconcatmultiarg` causing panic on using invalid hash.
15+
16+
## [2.18.1] - 2025-06-28
17+
18+
### New
19+
- Added `runwasmconcatmultiarg` instruction that allows multiple arguments to be concatenated then passed to `runwasm`
20+
21+
## [2.18.0] - 2025-06-27
22+
23+
### New
24+
- `account` module with `get_account` function that requests account boc from BM or BK node
25+
- `api-token` added to `config.network`
26+
27+
## [2.17.3] - 2025-06-25
28+
29+
### Fixes:
30+
31+
- Changed `runwasm` gas usage to match other instruction prices
32+
33+
## [2.17.2] - 2025-06-19
34+
35+
### New
36+
37+
- Changed `runwasm` instruction to accept local wasm binaries, selected by hash.
38+
39+
## [2.17.1] - 2025-06-16
40+
41+
### New
42+
43+
- Added fixed gas metering and wasm fuel limiting to `runwasm` instruction
44+
45+
## [2.17.0] - 2025-06-12
646

747
### New
848

0 commit comments

Comments
 (0)