Skip to content

Commit ad39e2d

Browse files
committed
build: change package version to 0.1.0-dev
The suffix -dev is slightly clearer. Also, since the package version follows semantic versioning, rename VERSION_BUILD to VERSION_PATCH for clarity.
1 parent 90618e9 commit ad39e2d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

configure.ac

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ AC_PREREQ([2.60])
55
# backwards-compatible and therefore at most increase the minor version.
66
define(_PKG_VERSION_MAJOR, 0)
77
define(_PKG_VERSION_MINOR, 1)
8-
define(_PKG_VERSION_BUILD, 0)
8+
define(_PKG_VERSION_PATCH, 0)
99
define(_PKG_VERSION_IS_RELEASE, false)
1010

1111
# The library version is based on libtool versioning of the ABI. The set of
@@ -17,7 +17,7 @@ define(_LIB_VERSION_CURRENT, 0)
1717
define(_LIB_VERSION_REVISION, 0)
1818
define(_LIB_VERSION_AGE, 0)
1919

20-
AC_INIT([libsecp256k1],m4_join([.], _PKG_VERSION_MAJOR, _PKG_VERSION_MINOR, _PKG_VERSION_BUILD)m4_if(_PKG_VERSION_IS_RELEASE, [true], [], [-pre]),[https://github.com/bitcoin-core/secp256k1/issues],[libsecp256k1],[https://github.com/bitcoin-core/secp256k1])
20+
AC_INIT([libsecp256k1],m4_join([.], _PKG_VERSION_MAJOR, _PKG_VERSION_MINOR, _PKG_VERSION_PATCH)m4_if(_PKG_VERSION_IS_RELEASE, [true], [], [-dev]),[https://github.com/bitcoin-core/secp256k1/issues],[libsecp256k1],[https://github.com/bitcoin-core/secp256k1])
2121

2222
AC_CONFIG_AUX_DIR([build-aux])
2323
AC_CONFIG_MACRO_DIR([build-aux/m4])

doc/release-process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Make sure that the branch contains the right commits.
99
Create commit on the release branch that sets `_PKG_VERSION_IS_RELEASE` in `configure.ac` to `true`.
1010
* if this **is** a patch release, open a pull request with the bugfixes to the `MAJOR.MINOR` branch.
11-
Also include the release note commit bump `_PKG_VERSION_BUILD` and `_LIB_VERSIONS_*` in `configure.ac`.
11+
Also include the release note commit bump `_PKG_VERSION_PATCH` and `_LIB_VERSIONS_*` in `configure.ac`.
1212
4. Tag the commit with `git tag -s vMAJOR.MINOR.PATCH`.
1313
5. Push branch and tag with `git push origin --tags`.
1414
6. Create a new GitHub release with a link to the corresponding entry in `CHANGELOG.md`.

0 commit comments

Comments
 (0)