Skip to content

Commit

Permalink
Release v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aurexav committed Apr 1, 2024
1 parent 4f83e6b commit 3100c24
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 4 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/watch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Watch
on:
schedule:
- cron: "0 * * * *"

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OCVW_LINK: https://github.com/darwinia-network/darwinia-release/releases/download/v0.4.0/ocvw.zst

jobs:
watch:
runs-on: ubuntu-latest
steps:
- name: Install ocvw
run: |
curl -L ${{ env.OCVW_LINK }} | tar --zst -xv
sudo mv ocvw /usr/bin
sudo chmod u+x /usr/bin/ocvw
- name: Watch
run: ocvw
2 changes: 1 addition & 1 deletion on-chain-version-watcher/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion on-chain-version-watcher/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "ocvw"
version = "0.3.0"
version = "0.4.0"

[dependencies]
# crates.io
Expand Down
2 changes: 2 additions & 0 deletions on-chain-version-watcher/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ impl Watcher {
let on_chain_version = self.on_chain_version(network)?;

if on_chain_version == github_version_d {
println!("going to release the latest version {} to {}", tag, network);

self.release(network, &tag)?;
} else {
println!("runtime has not been updated to the latest version yet");
Expand Down
2 changes: 1 addition & 1 deletion whitelist-upgrade-hasher/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion whitelist-upgrade-hasher/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "wuh"
version = "0.3.0"
version = "0.4.0"

[dependencies]
# crates.io
Expand Down

0 comments on commit 3100c24

Please sign in to comment.