Skip to content

Commit

Permalink
Update release tag and auto build system
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsso committed Sep 8, 2021
1 parent d9a592f commit 378caf9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
run: |
./scripts/init.sh
cargo build --release
cat extras/customSpecRaw.json > customSpecRaw.json
- name: PackRelease
run: |
zip PolkadexNodeUbuntu.zip --junk-paths target/release/polkadex-node extras/customSpecRaw.json extras/polkadex.service
Expand Down
12 changes: 6 additions & 6 deletions docs/run-a-validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

This guide will instruct you how to set up a validator node on the Polkadex Public Testnet.

- **Github**: https://github.com/Polkadex-Substrate/Polkadex/releases/tag/v0.4.1-rc4
- **Github**: https://github.com/Polkadex-Substrate/Polkadex/releases/tag/v0.4.1-rc5
- **Bootnode IP address**: 13.235.92.50
- **Bootnode Peer ID**: 12D3KooWC7VKBTWDXXic5yRevk8WS8DrDHevvHYyXaUCswM18wKd
- **customSpecRaw.json** https://github.com/Polkadex-Substrate/Polkadex/releases/download/v0.4.1-rc4/customSpecRaw.json
- **customSpecRaw.json** https://github.com/Polkadex-Substrate/Polkadex/releases/download/v0.4.1-rc5/customSpecRaw.json

## Initial Set-up

Expand Down Expand Up @@ -94,10 +94,10 @@ sudo ntpq -p
### Building and Installing the `Polkadex` binary
#### Using a prebuilt
If you don't want to build the binary from source and simply prefer to download it, use the following command. Then continue at Synchronize Chain Data
`curl -O -L https://github.com/Polkadex-Substrate/Polkadex/releases/download/v0.4.1-rc4/PolkadexNodeUbuntu.zip ; unzip PolkadexNodeUbuntu.zip`
`curl -O -L https://github.com/Polkadex-Substrate/Polkadex/releases/download/v0.4.1-rc5/PolkadexNodeUbuntu.zip ; unzip PolkadexNodeUbuntu.zip`

#### Build from source
To build the `Polkadex` binary from the [Polkadex-Substrate/Polkadex](https://github.com/Polkadex-Substrate/Polkadex) repository on GitHub using the source code available in the v0.4.1-rc4 release.
To build the `Polkadex` binary from the [Polkadex-Substrate/Polkadex](https://github.com/Polkadex-Substrate/Polkadex) repository on GitHub using the source code available in the v0.4.1-rc5 release.

```
git clone https://github.com/Polkadex-Substrate/Polkadex.git
Expand All @@ -107,7 +107,7 @@ cd Polkadex
Build native code with the cargo release profile.

```
git checkout v0.4.1-rc4
git checkout v0.4.1-rc5
cargo build --release
```

Expand All @@ -118,7 +118,7 @@ cargo build --release
Download `customSpecRaw.json` file for the Polkadex Public Testnet
```
cd $HOME
curl -O -L https://github.com/Polkadex-Substrate/Polkadex/releases/download/v0.4.1-rc4/customSpecRaw.json
curl -O -L https://github.com/Polkadex-Substrate/Polkadex/releases/download/v0.4.1-rc5/customSpecRaw.json
```

You can begin syncing your node by running the following commands if you do not want to start in validator mode right away:
Expand Down

0 comments on commit 378caf9

Please sign in to comment.