mirror of
https://github.com/json-c/json-c.git
synced 2026-11-08 14:40:17 +08:00
Add scripts to handle most of the first couple steps of creating a release.
This commit is contained in:
1 parent
f3b950584c
commit
e9750720c3
3 files changed
+103
-38
No files matched your search
Executable
+34
@@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Step 1 of creating a release:
|
||||
# Determine whether a release is worth doing
|
||||
|
||||
set -e -o pipefail
|
||||
|
||||
RUNDIR=$(dirname "$0")
|
||||
|
||||
. "${RUNDIR}/reltools.subr"
|
||||
set_rel_vars
|
||||
|
||||
cat <<EOF
|
||||
RELTAG=${RELTAG}
|
||||
RELVER=${RELVER}
|
||||
RELBRANCH=${RELBRANCH}
|
||||
RELBASE=${RELBASE}
|
||||
NEXT_RELVER=${NEXT_RELVER}
|
||||
|
||||
Analyze previous release branch to see if anything should have been
|
||||
applied to master:
|
||||
|
||||
git log -r "${RELBASE}..${RELBRANCH}" | less
|
||||
|
||||
Check commit logs between previous branch point and now for notable changes.
|
||||
|
||||
git log --reverse -r "${RELBASE}"..master | less
|
||||
|
||||
Starting shell:
|
||||
EOF
|
||||
|
||||
$SHELL
|
||||
|
||||
echo "$0: done"
|
||||
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Step 2 of creating a release:
|
||||
# We've decided a release is worth doing
|
||||
# Update automatic bits
|
||||
# Collect information needed to populate changelog, etc...
|
||||
|
||||
set -e -o pipefail
|
||||
|
||||
RUNDIR=$(dirname "$0")
|
||||
|
||||
cd "${RUNDIR}"
|
||||
|
||||
./gen_issues_closed.sh
|
||||
|
||||
../abi-check.sh
|
||||
|
||||
./update_authors.sh
|
||||
|
||||
./check_symbols.sh || true
|
||||
|
||||
Reference in new issue
Block a user