|
|
@@ -9,10 +9,26 @@ Check that the compile works on Linux |
|
|
|
Check that the compile works on NetBSD |
|
|
|
Check that the compile works on Windows |
|
|
|
Check ChangeLog to see if anything should be added. |
|
|
|
Make any fixes/changes *before* branching. |
|
|
|
|
|
|
|
git branch json-c-${release} |
|
|
|
git checkout json-c-${release} |
|
|
|
|
|
|
|
------------ |
|
|
|
|
|
|
|
Update the version in json_c_version.h |
|
|
|
Update the version in Doxyfile |
|
|
|
Update the version in configure.in |
|
|
|
Use ${release}. |
|
|
|
|
|
|
|
Update the libjson_la_LDFLAGS line in Makefile.am to the new version. |
|
|
|
Generally, unless we're doing a major release, change: |
|
|
|
-version-info x:y:z |
|
|
|
to |
|
|
|
-version-info x:y+1:z |
|
|
|
|
|
|
|
------------ |
|
|
|
|
|
|
|
Generate the configure script and other files: |
|
|
|
sh autogen.sh |
|
|
|
git add -f Makefile.in aclocal.m4 config.guess \ |
|
|
@@ -24,11 +40,15 @@ Generate the configure script and other files: |
|
|
|
git status --ignored |
|
|
|
git commit |
|
|
|
|
|
|
|
------------ |
|
|
|
|
|
|
|
Generate the doxygen documentation: |
|
|
|
doxygen |
|
|
|
git add -f doc |
|
|
|
git commit doc |
|
|
|
|
|
|
|
------------ |
|
|
|
|
|
|
|
cd .. |
|
|
|
echo .git > excludes |
|
|
|
echo autom4te.cache >> excludes |
|
|
@@ -37,25 +57,46 @@ tar -czf json-c-${release}.tar.gz -X excludes json-c-${release} |
|
|
|
echo doc >> excludes |
|
|
|
tar -czf json-c-${release}-nodoc.tar.gz -X excludes json-c-${release} |
|
|
|
|
|
|
|
------------ |
|
|
|
|
|
|
|
Tag the branch: |
|
|
|
cd json-c-${release} |
|
|
|
git tag -a json-c-${release}-$(date +%Y%m%d) |
|
|
|
git push |
|
|
|
git tag -a json-c-${release}-$(date +%Y%m%d) -m "Release json-c-${release}" |
|
|
|
|
|
|
|
git push origin json-c-${release} |
|
|
|
git push --tags |
|
|
|
|
|
|
|
Go to https://github.com/json-c/json-c/downloads |
|
|
|
Upload the two tarballs. |
|
|
|
------------ |
|
|
|
|
|
|
|
Go to Amazon S3 service at: |
|
|
|
https://console.aws.amazon.com/s3/ |
|
|
|
|
|
|
|
Upload the two tarballs in the json-c_releases folder. |
|
|
|
When uploading, use "Reduced Redundancy", and make the uploaded files publicly accessible. |
|
|
|
|
|
|
|
Logout of Amazon S3, and verify that the files are visible. |
|
|
|
https://s3.amazonaws.com/json-c_releases/releases/index.html |
|
|
|
|
|
|
|
=================================== |
|
|
|
|
|
|
|
Post-release checklist: |
|
|
|
|
|
|
|
git branch master |
|
|
|
Add new section to CHANGES |
|
|
|
git checkout master |
|
|
|
Add new section to ChangeLog |
|
|
|
Update the version in json_c_version.h |
|
|
|
Update the version in Doxyfile |
|
|
|
Update the version in configure.in |
|
|
|
Update the libjson_la_LDFLAGS line in Makefile.am to the new version. |
|
|
|
Use ${release}.99 to indicate a version "newer" than anything on the branch. |
|
|
|
|
|
|
|
Leave the libjson_la_LDFLAGS line in Makefile.am alone. |
|
|
|
For more details see: |
|
|
|
http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html |
|
|
|
|
|
|
|
------------ |
|
|
|
|
|
|
|
XXX Update gh-pages branch, index.html: |
|
|
|
Link to current release. |
|
|
|
Add new docs. |
|
|
|
|
|
|
|
Send an email to the mailing list. |
|
|
|
|