mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2024-12-26 02:00:50 +08:00
Update version in dox
We should automate this, but for now we can at least update: make -f dev.makefile update-version make -f dev.makefile dox # Then, go to jsoncpp-doc repo, add, and push. * https://github.com/open-source-parsers/jsoncpp-docs/issues/2
This commit is contained in:
parent
be4a512887
commit
5c4219b8ae
3
.gitignore
vendored
3
.gitignore
vendored
@ -52,3 +52,6 @@ compile_commands.json
|
|||||||
|
|
||||||
# DS_Store
|
# DS_Store
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
# temps
|
||||||
|
/version
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
# This is only for jsoncpp developers/contributors.
|
# This is only for jsoncpp developers/contributors.
|
||||||
# We use this to sign releases, generate documentation, etc.
|
# We use this to sign releases, generate documentation, etc.
|
||||||
VER?=$(shell cat version.txt)
|
VER?=$(shell cat version)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@echo "VER=${VER}"
|
@echo "VER=${VER}"
|
||||||
|
update-version:
|
||||||
|
perl get_version.pl meson.build >| version
|
||||||
sign: jsoncpp-${VER}.tar.gz
|
sign: jsoncpp-${VER}.tar.gz
|
||||||
gpg --armor --detach-sign $<
|
gpg --armor --detach-sign $<
|
||||||
gpg --verify $<.asc
|
gpg --verify $<.asc
|
||||||
|
5
get_version.pl
Normal file
5
get_version.pl
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
while (<>) {
|
||||||
|
if (/version : '(.+)',/) {
|
||||||
|
print "$1";
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user