Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: check version consistency between autotools and cmake #22

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

muxator
Copy link

@muxator muxator commented Nov 22, 2023

Our project version number is structured as following: major.minor.patch-itcoin-frost-build (for example: 0.3.0-frost-1).

secp256k1 v0.3.0 introduced support for building via CMake. In the process, it also duplicated the places where the version information is stored: no longer just configure.ac, but also CMakeLists.txt.

We now have to ensure that the two files are in sync. Additionally, we have to do the same check for the frost-specific version number.

The PR introduces a script that takes care of this and integrates the check in the CI.

@muxator muxator marked this pull request as draft November 22, 2023 15:37
@muxator muxator force-pushed the check-versions-consistency branch 4 times, most recently from abf1fb8 to d50f346 Compare November 23, 2023 12:52
@muxator muxator force-pushed the check-versions-consistency branch from d50f346 to 3533aa8 Compare November 23, 2023 13:15
@muxator muxator marked this pull request as ready for review November 23, 2023 13:34
@muxator muxator merged commit 62315f2 into frost Nov 23, 2023
4 checks passed
@muxator muxator deleted the check-versions-consistency branch November 23, 2023 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant