Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.0.0 #281

Merged
merged 10 commits into from
Jun 8, 2022
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
13 changes: 3 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
SUBWASM_VERSION: 0.15.0
strategy:
matrix:
chain: ["ipci","alpha","main"]
chain: ["alpha","main"]
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
run: |
mkdir -p release/tmp/
cd release/tmp/
mkdir robonomics robonomics-alpha ipci x86_64 aarch64
mkdir robonomics robonomics-alpha x86_64 aarch64

- name: get x86_64 binary
uses: actions/download-artifact@v2
Expand All @@ -258,24 +258,17 @@ jobs:
name: alpha-runtime
path: release/tmp/robonomics-alpha

- uses: actions/download-artifact@v2
with:
name: ipci-runtime
path: release/tmp/ipci

- id: compress_artefacts
shell: bash
run: |
cd release/
echo "::set-output name=main::$(jq -r '.core_version' tmp/robonomics/main-info.json | awk '{print $1}')"
echo "::set-output name=alpha::$(jq -r '.core_version' tmp/robonomics-alpha/alpha-info.json | awk '{print $1}')"
echo "::set-output name=ipci::$(jq -r '.core_version' tmp/ipci/ipci-info.json | awk '{print $1}')"
chmod +x tmp/x86_64/robonomics tmp/aarch64/robonomics
tar -czvf robonomics-"${{ steps.get_version.outputs.version-without-v }}"-x86_64-unknown-linux-gnu.tar.gz -C tmp/x86_64/ robonomics
tar -czvf robonomics-"${{ steps.get_version.outputs.version-without-v }}"-aarch64-unknown-linux-gnu.tar.gz -C tmp/aarch64/ robonomics
cd tmp/robonomics;tar -czvf ../../runtime-"$(jq -r '.core_version' main-info.json | awk '{print $1}')".tar.gz *;cd ../../
cd tmp/robonomics-alpha;tar -czvf ../../runtime-"$(jq -r '.core_version' alpha-info.json | awk '{print $1}')".tar.gz *;cd ../../
cd tmp/ipci;tar -czvf ../../runtime-"$(jq -r '.core_version' ipci-info.json | awk '{print $1}')".tar.gz *;cd ../../
echo "${{ steps.get_version.outputs.version-without-v }}" > version
sha256sum *.tar.gz > sha256sum
rm -rf tmp/
Expand Down Expand Up @@ -306,7 +299,7 @@ jobs:
id: gen_release_body
shell: bash
run: |
r="> Native runtimes: \`${{ steps.compress_artefacts.outputs.main }}\`, \`${{ steps.compress_artefacts.outputs.alpha }}\`, \`${{ steps.compress_artefacts.outputs.ipci }}\`"$'\n'
r="> Native runtimes: \`${{ steps.compress_artefacts.outputs.main }}\`, \`${{ steps.compress_artefacts.outputs.alpha }}\`"$'\n'
r=$r$'\n'
r=$r$'\n'"Changelog"
r=$r$'\n'"--------------"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/srtool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
chain: ["ipci","alpha","main"]
chain: ["alpha","main"]
steps:
- uses: actions/checkout@v2
with:
Expand Down
Loading