prepare v1.0.1

This commit is contained in:
hinto-janaiyo 2022-12-21 10:59:35 -05:00
parent e6bf49b309
commit f37fb0c589
No known key found for this signature in database
GPG key ID: B1C5A64B80691E45
2 changed files with 22 additions and 0 deletions

View file

@ -1,3 +1,18 @@
# v1.0.1
## Updates
*
## Fixes
*
## Bundled Versions
* [`P2Pool v2.6`](https://github.com/SChernykh/p2pool/releases/tag/v2.6)
* [`XMRig v6.18.1`](https://github.com/xmrig/xmrig/releases/tag/v6.18.1)
---
# v1.0.0
[Download here](https://github.com/hinto-janaiyo/gupax/releases/latest) or at https://gupax.io.

View file

@ -14,6 +14,10 @@ sudo -v
# get old GUPAX_VER
OLD_VER="v$(grep -m1 "version" Cargo.toml | grep -o "[0-9].[0-9].[0-9]")"
# get p2pool/xmrig version
P2POOL_VERSION="$(grep "P2POOL_VERSION" src/constants.rs | grep -o "\"v[0-9].*\"")"
XMRIG_VERSION="$(grep "XMRIG_VERSION" src/constants.rs | grep -o "\"v[0-9].*\"")"
# sed change
sed -i "s/$OLD_VER/$1/g" README.md
sed -i "s/$OLD_VER/$1/" Cargo.toml
@ -27,6 +31,9 @@ cat << EOM > CHANGELOG.md.new
## Fixes
*
## Bundled Versions
* [\`P2Pool ${P2POOL_VERSION//\"/}\`](https://github.com/SChernykh/p2pool/releases/tag/${P2POOL_VERSION//\"/})
* [\`XMRig ${XMRIG_VERSION//\"/}\`](https://github.com/xmrig/xmrig/releases/tag/${XMRIG_VERSION//\"/})
---