Skip to content

Commit

Permalink
chore: update download links for v20.0.3 (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
thephez authored Jan 8, 2024
1 parent 5a0300c commit 53bf699
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 37 deletions.
8 changes: 4 additions & 4 deletions docs/user/developers/insight.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ dependencies::
Download and extract the latest version of Dash Core::

cd ~
wget https://github.com/dashpay/dash/releases/download/v20.0.2/dashcore-20.0.2-x86_64-linux-gnu.tar.gz
tar -xvzf dashcore-20.0.2-x86_64-linux-gnu.tar.gz
rm dashcore-20.0.2-x86_64-linux-gnu.tar.gz
wget https://github.com/dashpay/dash/releases/download/v20.0.3/dashcore-20.0.3-x86_64-linux-gnu.tar.gz
tar -xvzf dashcore-20.0.3-x86_64-linux-gnu.tar.gz
rm dashcore-20.0.3-x86_64-linux-gnu.tar.gz

Install `Dashcore Node <https://github.com/dashpay/dashcore-node>`_ and
create your configuration::
Expand All @@ -55,7 +55,7 @@ Change paths in the configuration file as follows::
nano dashcore-node.json

- Change the value of ``datadir`` to ``../../.dashcore``
- Change the value of ``exec`` to ``../../dashcore-20.0.2/bin/dashd``
- Change the value of ``exec`` to ``../../dashcore-20.0.3/bin/dashd``
- **Optionally** change the value of ``network`` to ``testnet`` if you
want to run Insight on testnet

Expand Down
12 changes: 6 additions & 6 deletions docs/user/masternodes/maintenance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ enter the following command, pasting in the address to the latest
version of Dash Core by right clicking or pressing **Ctrl + V**::

cd /tmp
wget https://github.com/dashpay/dash/releases/download/v20.0.2/dashcore-20.0.2-x86_64-linux-gnu.tar.gz
wget https://github.com/dashpay/dash/releases/download/v20.0.3/dashcore-20.0.3-x86_64-linux-gnu.tar.gz

Verify the authenticity of your download by checking its detached
signature against the public key published by the Dash Core development
Expand All @@ -63,14 +63,14 @@ following keys:

curl https://keybase.io/codablock/pgp_keys.asc | gpg --import
curl https://keybase.io/pasta/pgp_keys.asc | gpg --import
wget https://github.com/dashpay/dash/releases/download/v20.0.2/dashcore-20.0.2-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-20.0.2-x86_64-linux-gnu.tar.gz.asc
wget https://github.com/dashpay/dash/releases/download/v20.0.3/dashcore-20.0.3-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-20.0.3-x86_64-linux-gnu.tar.gz.asc

Extract the compressed archive and copy the new files to the directory::

tar xfv dashcore-20.0.2-x86_64-linux-gnu.tar.gz
cp -f dashcore-20.0.2/bin/dashd ~/.dashcore/
cp -f dashcore-20.0.2/bin/dash-cli ~/.dashcore/
tar xfv dashcore-20.0.3-x86_64-linux-gnu.tar.gz
cp -f dashcore-20.0.3/bin/dashd ~/.dashcore/
cp -f dashcore-20.0.3/bin/dash-cli ~/.dashcore/

Restart Dash::

Expand Down
12 changes: 6 additions & 6 deletions docs/user/masternodes/setup-evonode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ command, pasting in the address to the latest version of Dash Core by right clic
or pressing **Ctrl+ V**::

cd /tmp
wget https://github.com/dashpay/dash/releases/download/v20.0.2/dashcore-20.0.2-x86_64-linux-gnu.tar.gz
wget https://github.com/dashpay/dash/releases/download/v20.0.3/dashcore-20.0.3-x86_64-linux-gnu.tar.gz

Verify the authenticity of your download by checking its detached
signature against the public key published by the Dash Core development
Expand All @@ -287,16 +287,16 @@ following keys:

curl https://keybase.io/codablock/pgp_keys.asc | gpg --import
curl https://keybase.io/pasta/pgp_keys.asc | gpg --import
wget https://github.com/dashpay/dash/releases/download/v20.0.2/dashcore-20.0.2-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-20.0.2-x86_64-linux-gnu.tar.gz.asc
wget https://github.com/dashpay/dash/releases/download/v20.0.3/dashcore-20.0.3-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-20.0.3-x86_64-linux-gnu.tar.gz.asc

Create a working directory for Dash, extract the compressed archive and
copy the necessary files to the directory::

mkdir ~/.dashcore
tar xfv dashcore-20.0.2-x86_64-linux-gnu.tar.gz
cp -f dashcore-20.0.2/bin/dashd ~/.dashcore/
cp -f dashcore-20.0.2/bin/dash-cli ~/.dashcore/
tar xfv dashcore-20.0.3-x86_64-linux-gnu.tar.gz
cp -f dashcore-20.0.3/bin/dashd ~/.dashcore/
cp -f dashcore-20.0.3/bin/dash-cli ~/.dashcore/

Create a configuration file using the following command::

Expand Down
10 changes: 5 additions & 5 deletions docs/user/masternodes/setup-testnet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ and communication relating to the base blockchain. Download Dash Core as
follows::

cd /tmp
wget https://github.com/dashpay/dash/releases/download/v20.0.2/dashcore-20.0.2-$(uname -m)-linux-gnu.tar.gz
wget https://github.com/dashpay/dash/releases/download/v20.0.3/dashcore-20.0.3-$(uname -m)-linux-gnu.tar.gz

Verify the authenticity of your download by checking its detached
signature against the public key published by the Dash Core development
Expand All @@ -667,14 +667,14 @@ team. All releases of Dash are signed using GPG with the following key:
::

curl https://keybase.io/pasta/pgp_keys.asc | gpg --import
wget https://github.com/dashpay/dash/releases/download/v20.0.2/dashcore-20.0.2-$(uname -m)-linux-gnu.tar.gz.asc
gpg --verify dashcore-20.0.2-$(uname -m)-linux-gnu.tar.gz.asc
wget https://github.com/dashpay/dash/releases/download/v20.0.3/dashcore-20.0.3-$(uname -m)-linux-gnu.tar.gz.asc
gpg --verify dashcore-20.0.3-$(uname -m)-linux-gnu.tar.gz.asc

Extract the compressed archive and copy the necessary files to the
directory::

tar xfv dashcore-20.0.2-$(uname -m)-linux-gnu.tar.gz
sudo install -t /usr/local/bin dashcore-20.0.2/bin/*
tar xfv dashcore-20.0.3-$(uname -m)-linux-gnu.tar.gz
sudo install -t /usr/local/bin dashcore-20.0.3/bin/*

Create a working directory for Dash Core::

Expand Down
12 changes: 6 additions & 6 deletions docs/user/masternodes/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ address to the latest version of Dash Core by right clicking or pressing
**Ctrl + V**::

cd /tmp
wget https://github.com/dashpay/dash/releases/download/v20.0.2/dashcore-20.0.2-x86_64-linux-gnu.tar.gz
wget https://github.com/dashpay/dash/releases/download/v20.0.3/dashcore-20.0.3-x86_64-linux-gnu.tar.gz

Verify the authenticity of your download by checking its detached
signature against the public key published by the Dash Core development
Expand All @@ -249,16 +249,16 @@ following keys:

curl https://keybase.io/codablock/pgp_keys.asc | gpg --import
curl https://keybase.io/pasta/pgp_keys.asc | gpg --import
wget https://github.com/dashpay/dash/releases/download/v20.0.2/dashcore-20.0.2-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-20.0.2-x86_64-linux-gnu.tar.gz.asc
wget https://github.com/dashpay/dash/releases/download/v20.0.3/dashcore-20.0.3-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-20.0.3-x86_64-linux-gnu.tar.gz.asc

Create a working directory for Dash, extract the compressed archive and
copy the necessary files to the directory::

mkdir ~/.dashcore
tar xfv dashcore-20.0.2-x86_64-linux-gnu.tar.gz
cp -f dashcore-20.0.2/bin/dashd ~/.dashcore/
cp -f dashcore-20.0.2/bin/dash-cli ~/.dashcore/
tar xfv dashcore-20.0.3-x86_64-linux-gnu.tar.gz
cp -f dashcore-20.0.3/bin/dashd ~/.dashcore/
cp -f dashcore-20.0.3/bin/dash-cli ~/.dashcore/

Create a configuration file using the following command::

Expand Down
16 changes: 8 additions & 8 deletions docs/user/mining/p2pool.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ address to the latest version of Dash Core by right clicking or pressing
**Ctrl + V**::

cd ~
wget https://github.com/dashpay/dash/releases/download/v20.0.2/dashcore-20.0.2-x86_64-linux-gnu.tar.gz
wget https://github.com/dashpay/dash/releases/download/v20.0.3/dashcore-20.0.3-x86_64-linux-gnu.tar.gz

Verify the authenticity of your download by checking its detached
signature against the public key published by the Dash Core development
Expand All @@ -128,21 +128,21 @@ following keys:

curl https://keybase.io/codablock/pgp_keys.asc | gpg --import
curl https://keybase.io/pasta/pgp_keys.asc | gpg --import
wget https://github.com/dashpay/dash/releases/download/v20.0.2/dashcore-20.0.2-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-20.0.2-x86_64-linux-gnu.tar.gz.asc
wget https://github.com/dashpay/dash/releases/download/v20.0.3/dashcore-20.0.3-x86_64-linux-gnu.tar.gz.asc
gpg --verify dashcore-20.0.3-x86_64-linux-gnu.tar.gz.asc

Create a working directory for Dash, extract the compressed archive,
copy the necessary files to the directory and set them as executable::

mkdir ~/.dashcore
tar xfvz dashcore-20.0.2-x86_64-linux-gnu.tar.gz
cp dashcore-20.0.2/bin/dashd .dashcore/
cp dashcore-20.0.2/bin/dash-cli .dashcore/
tar xfvz dashcore-20.0.3-x86_64-linux-gnu.tar.gz
cp dashcore-20.0.3/bin/dashd .dashcore/
cp dashcore-20.0.3/bin/dash-cli .dashcore/

Clean up unneeded files::

rm dashcore-20.0.2-x86_64-linux-gnu.tar.gz
rm -r dashcore-20.0.2/
rm dashcore-20.0.3-x86_64-linux-gnu.tar.gz
rm -r dashcore-20.0.3/

Create a configuration file using the following command::

Expand Down
4 changes: 2 additions & 2 deletions scripts/update-download-links.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Dash Core version is released

# Define old and new version variables
OLD_VERSION="20.0.0"
NEW_VERSION="20.0.2"
OLD_VERSION="20.0.2"
NEW_VERSION="20.0.3"

# Use the variables in the find/sed commands
find . -iname "*.rst" -exec sed -i "s~/v${OLD_VERSION}/dashcore-${OLD_VERSION}-~/v${NEW_VERSION}/dashcore-${NEW_VERSION}-~g" {} +
Expand Down

0 comments on commit 53bf699

Please sign in to comment.