diff --git a/doc/release-process.md b/doc/release-process.md index 0a4be7768..59f862927 100644 --- a/doc/release-process.md +++ b/doc/release-process.md @@ -1,65 +1,64 @@ Bitcoin ABC Release Process =========================== ## Before Release 1. Check configuration - Check features planned for the release are implemented and documented (or more informally, that the Release Manager agrees it is feature complete) - Check that finished tasks / tickets are marked as resolved 2. Verify tests passed - any known issues or limitations should be documented in release notes - known bugs should have tickets - Verify IBD without checkpoints and without assumevalid. 3. Update the documents / code which needs to be updated every release - Check that doc/release-notes.md is complete, and fill in any missing items. - Update [bips.md](bips.md) to account for changes since the last release. - (major releases) Update [`BLOCK_CHAIN_SIZE`](/src/qt/intro.cpp) to the current size plus some overhead. - Update `src/chainparams.cpp` defaultAssumeValid and nMinimumChainWork with information from the getblockhash rpc. - The selected value must not be orphaned so it may be useful to set the value two blocks back from the tip. - Testnet should be set some tens of thousands back from the tip due to reorgs there. - This update should be reviewed with a reindex-chainstate with assumevalid=0 to catch any defect that causes rejection of blocks in the past history. - Regenerate manpages (run contrib/devtools/gen-manpages.sh). - Update seeds as per [contrib/seeds/README.md](contrib/seeds/README.md) 4. Add git tag for release ## Release 5. Create Gitian Builds (see doc/gitian-building.md), notify PPA buildmaster to start creating Ubuntu PPAs 6. Verify matching gitian builds, gather signatures 7. Upload gitian build to [bitcoinabc.org](https://download.bitcoinabc.org/) 8. Create a [GitHub release](https://github.com/Bitcoin-ABC/bitcoin-abc/releases). The Github release name should be the same as the tag (without the prepended 'v'), and the contents of the release notes should be copied from release-notes.md. ## After Release 9. Increment version number in: - doc/Doxyfile - doc/release-notes.md (and copy existing one to versioned doc/release-notes/*.md) - configure.ac - src/config/CMakeLists.txt - - src/clientversion.h - contrib/gitian-descriptors/*.yml (before a new major release) 10. Update version number on www.bitcoinabc.org 11. Publish signed checksums (various places, e.g. blog, reddit/r/BitcoinABC) 12. Announce Release: - [Reddit](https://www.reddit.com/r/BitcoinABC/) - Twitter @Bitcoin_ABC - Public slack channels friendly to Bitcoin ABC announcements (eg. #abc-announce on BTCforks, #hardfork on BTCchat) diff --git a/src/clientversion.h b/src/clientversion.h index 8f098f784..b84bee4b2 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -1,71 +1,47 @@ // Copyright (c) 2009-2016 The Bitcoin Core developers // Copyright (c) 2017-2018 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_CLIENTVERSION_H #define BITCOIN_CLIENTVERSION_H -#if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" -#else - -/** - * client versioning and copyright year - */ - -//! These need to be macros, as clientversion.cpp's and bitcoin*-res.rc's voodoo -//! requires it -#define CLIENT_VERSION_MAJOR 0 -#define CLIENT_VERSION_MINOR 18 -#define CLIENT_VERSION_REVISION 6 -#define CLIENT_VERSION_BUILD 0 - -//! Set to true for release, false for prerelease or test build -#define CLIENT_VERSION_IS_RELEASE true - -/** - * Copyright year (2009-this) - * TODO: Update this when changing our copyright comments in the source - */ -#define COPYRIGHT_YEAR 2018 - -#endif // HAVE_CONFIG_H /** * Converts the parameter X to a string after macro replacement on X has been * performed. * Don't merge these into one macro! */ #define STRINGIZE(X) DO_STRINGIZE(X) #define DO_STRINGIZE(X) #X //! Copyright string used in Windows .rc files #define COPYRIGHT_STR \ "2009-" STRINGIZE(COPYRIGHT_YEAR) " " COPYRIGHT_HOLDERS_FINAL /** * bitcoind-res.rc includes this file, but it cannot cope with real c++ code. * WINDRES_PREPROC is defined to indicate that its pre-processor is running. * Anything other than a define should be guarded below. */ #if !defined(WINDRES_PREPROC) #include #include static const int CLIENT_VERSION = 1000000 * CLIENT_VERSION_MAJOR + 10000 * CLIENT_VERSION_MINOR + 100 * CLIENT_VERSION_REVISION + 1 * CLIENT_VERSION_BUILD; extern const std::string CLIENT_NAME; extern const std::string CLIENT_BUILD; std::string FormatFullVersion(); std::string FormatSubVersion(const std::string &name, int nClientVersion, const std::vector &comments); #endif // WINDRES_PREPROC #endif // BITCOIN_CLIENTVERSION_H