Releasing - gradinkov/rudehash GitHub Wiki
Stable Release
Before release
-
Verify that the config editor schema and the README match the PowerShell definitions.
-
Check all miners for updates.
-
Check if any coin got listed on WhatToMine.
export VERSION="8.0"
sed -bi "s@^\$Version = \".*\"@\$Version = \"${VERSION}\"@" rudehash.ps1
sed -bi "s@^\!define VERSION \".*\"@\!define VERSION \"${VERSION}\"@" rudehash.nsi
sed -bi "s@^## RudeHash ${VERSION} (.*)@## RudeHash ${VERSION} ($(date +%Y-%m-%d))@" CHANGELOG.md
git diff
git add --all && git commit --message="Release time"
git tag -a v${VERSION} -m "${VERSION} release"
git push
git push --tags
./build-installer.sh
Release
- Tag version:
v8.0
- Release title:
RudeHash 8.0
- Description: changelog's relevant part
- Attach
rudehash-8.0.exe
as binary.
Then:
- Update version info in
globals.php
- Change
DEVEL
tofalse
inglobals.php
- Update
download/relnotes.md
- Post to Twitter
- Post to Reddit
After release
export VERSION="9.0-dev"
sed -bi "s@^\$Version = \".*\"@\$Version = \"${VERSION}\"@" rudehash.ps1
sed -bi "s@^\!define VERSION \".*\"@\!define VERSION \"${VERSION}\"@" rudehash.nsi
git diff
git add --all && git commit --message="Prepare for next release"
Development Release
Before release
export VERSION="9.0-dev-$(date +%Y%m%d)"
git tag -a v${VERSION} -m "${VERSION} development release"
git push
git push --tags
Release
- Tag version:
v9.0-dev-20180808
- Release title:
RudeHash 9.0-dev-20180808
- Description: changelog's relevant part
- Attach
rudehash-9.0-dev-20180808.exe
as binary.
Then:
- Update version info in
globals.php