-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop the
wasm-semantics
submodule (#239)
* Set Version: 0.1.39 * Remove the `wasm-semantics` submodule * Test update workflow * kmultiversx/: sync poetry files 0.1.35 * deps/k_release: sync release file version 7.0.9 * Restore trigger --------- Co-authored-by: devops <[email protected]>
- Loading branch information
1 parent
a3d0617
commit eb95126
Showing
6 changed files
with
12 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
steps: | ||
- name: 'Check out code' | ||
uses: actions/checkout@v3 | ||
with: | ||
with: | ||
submodules: recursive | ||
token: ${{ secrets.JENKINS_GITHUB_PAT }} | ||
- name: 'Configure GitHub user' | ||
|
@@ -24,21 +24,16 @@ jobs: | |
git config user.email [email protected] | ||
- name: 'Install Poetry' | ||
uses: Gr1N/setup-poetry@v8 | ||
- name: 'Update KWasm submodule, K release' | ||
run: | | ||
kwasm_version=$(cat deps/kwasm_release) | ||
cd deps/wasm-semantics/ | ||
git fetch --tags | ||
git checkout v${kwasm_version} | ||
cd ../.. | ||
git add deps/wasm-semantics && git commit -m "deps/wasm-semantics: update submodule v${kwasm_version}" || true | ||
cat deps/wasm-semantics/deps/k_release > deps/k_release | ||
git add deps/k_release && git commit -m 'deps/k_release: update versions' || true | ||
- name: 'Update poetry files' | ||
run: | | ||
pykwasm_version="$(cat deps/kwasm_release)" | ||
sed -i 's!pykwasm = { git = "https://github.com/runtimeverification/wasm-semantics.git", tag = "[v0-9\.]*", subdirectory = "pykwasm" }!pykwasm = { git = "https://github.com/runtimeverification/wasm-semantics.git", tag = "v'${pykwasm_version}'", subdirectory = "pykwasm" }!' kmultiversx/pyproject.toml | ||
PYKWASM_VERSION="$(cat deps/kwasm_release)" | ||
sed -i 's!pykwasm = { git = "https://github.com/runtimeverification/wasm-semantics.git", tag = "[v0-9\.]*", subdirectory = "pykwasm" }!pykwasm = { git = "https://github.com/runtimeverification/wasm-semantics.git", tag = "v'${PYKWASM_VERSION}'", subdirectory = "pykwasm" }!' kmultiversx/pyproject.toml | ||
poetry -C kmultiversx update | ||
git add kmultiversx/ && git commit -m "kmultiversx/: sync poetry files ${pykwasm_version}" || true | ||
git add kmultiversx/ && git commit -m "kmultiversx/: sync poetry files ${PYKWASM_VERSION}" || true | ||
- name: 'Update K release' | ||
run: | | ||
K_VERSION=$(poetry -C kmultiversx run python3 -c 'import pyk; print(pyk.__version__)') | ||
echo ${K_VERSION} > deps/k_release | ||
git add deps/k_release && git commit -m "deps/k_release: sync release file version ${K_VERSION}" || true | ||
- name: 'Push updates' | ||
run: git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule wasm-semantics
deleted from
b77997
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" | |
|
||
[tool.poetry] | ||
name = "kmultiversx" | ||
version = "0.1.38" | ||
version = "0.1.39" | ||
description = "Python tools for Elrond semantics" | ||
authors = [ | ||
"Runtime Verification, Inc. <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.1.38 | ||
0.1.39 |