mirror of
https://github.com/bstansell/conserver.git
synced 2024-12-21 13:47:49 +00:00
more packaging pieces
This commit is contained in:
parent
51cfe7eb30
commit
5c9ffec7cd
@ -2,6 +2,7 @@ Creating a new release
|
||||
----------------------
|
||||
|
||||
- Create a new release branch `git checkout -b release-v...`
|
||||
- Update `CHANGES` with output of `./package/create-changes v-xx..`
|
||||
- Edit `conserver/version.h`
|
||||
- Run `./package/replicate-version-number`
|
||||
- Double-check and merge release branch
|
||||
|
13
package/create-changes
Executable file
13
package/create-changes
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
[ -z "$1" ] && echo "Usage: $0 tag" && exit 1
|
||||
range="$1"
|
||||
maj=`grep MAJOR conserver/version.h | awk '{print $NF; exit}'`
|
||||
min=`grep MINOR conserver/version.h | awk '{print $NF; exit}'`
|
||||
rev=`grep REV conserver/version.h | awk '{print $NF; exit}'`
|
||||
ver="$maj.$min.$rev"
|
||||
|
||||
echo "version $ver (`date '+%B %-d, %Y'`):"
|
||||
git log --no-merges --pretty=tformat:' - %s (%an <%ae>)' "$range" | tail -r | awk '{if (! l[$0]) {l[$0]++; print}}'
|
@ -1,5 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
maj=`grep MAJOR conserver/version.h | awk '{print $NF; exit}'`
|
||||
min=`grep MINOR conserver/version.h | awk '{print $NF; exit}'`
|
||||
rev=`grep REV conserver/version.h | awk '{print $NF; exit}'`
|
||||
|
Loading…
Reference in New Issue
Block a user