Skip to content

Commit

Permalink
Release v4.3.2 (#538)
Browse files Browse the repository at this point in the history
* makefile for web-files

* ci workflows patch

* minify web monitor release
  • Loading branch information
0o-de-lally authored Jun 3, 2021
1 parent 1117437 commit 43c2bbf
Show file tree
Hide file tree
Showing 7 changed files with 1,181 additions and 20,977 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI

on:
push:
branches: [ ci ]
branches: [ main, ci ]
pull_request:
branches: [ main, 'release**' ]

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Publish

on:
push:
branches: [ ci ]
tags:
- '*'

Expand Down Expand Up @@ -31,8 +32,9 @@ jobs:
file_glob: true
tag: ${{ github.ref }}
overwrite: true
- name: Web
run: cd ol/cli/web-monitor/public/; tar -czvf web-monitor.tar.gz *
- name: Build Web
run: cd ol/cli/web-monitor/public/ && npm i && npm run build
run: cd ol/cli/web-monitor/public/; tar -czvf web-monitor.tar.gz *
- name: Upload Web Files
uses: svenstaro/upload-release-action@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Chain Upgrade

on:
push:
branches: [ ci ]
branches: [ main, ci ]
pull_request:
branches: [ main, 'v**', 'release**' ]
branches: [ main, 'release**' ]

jobs:
functional:
Expand Down
21 changes: 11 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ download: web-files
done

web-files:
curl -L --progress-bar --create-dirs -o ${DATA_PATH}/web-monitor.zip https://github.com/OLSF/libra/releases/latest/download/web-monitor.zip
unzip ${DATA_PATH}/web-monitor.zip -d ${DATA_PATH}/web-monitor
curl -L --progress-bar --create-dirs -o ${DATA_PATH}/web-monitor.tar.gz https://github.com/OLSF/libra/releases/latest/download/web-monitor.tar.gz
tar -xf ${DATA_PATH}/web-monitor.tar.gz --directory ${DATA_PATH}/web-monitor

download-release:
@for b in ${BINS} ; do \
Expand All @@ -76,13 +76,18 @@ uninstall:
rm /usr/local/bin/$$b ; \
done

bins:
bins: stdlib
# Build and install genesis tool, libra-node, and miner
cargo run -p stdlib --release

# NOTE: stdlib is built for cli bindings

cargo build -p libra-node -p miner -p backup-cli -p ol -p txs -p onboard --release

stdlib:
cargo run --release -p stdlib
cargo run --release -p stdlib -- --create-upgrade-payload
sha256sum language/stdlib/staged/stdlib.mv


install:
sudo cp -f ${SOURCE}/target/release/miner /usr/local/bin/miner
sudo cp -f ${SOURCE}/target/release/libra-node /usr/local/bin/libra-node
Expand Down Expand Up @@ -323,11 +328,7 @@ client: set-waypoint
# endif


stdlib:
cargo run --release -p stdlib
cargo run --release -p stdlib -- --create-upgrade-payload
sha256sum language/stdlib/staged/stdlib.mv


keygen:
cd ${DATA_PATH} && miner keygen

Expand Down
Loading

0 comments on commit 43c2bbf

Please sign in to comment.