Skip to content

Commit

Permalink
updating release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Dec 10, 2019
1 parent b371be9 commit 9198c0e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions etc/make_release.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash -e
# Update from origin
git fetch origin

Expand All @@ -8,15 +9,19 @@ git checkout master
git pull
git merge develop

# Change this to the old and new tags
oldtag=v2.1.6
tagname=v2.1.7

# Get the changes since last tag
# git log $(git describe --tags --abbrev=0)..HEAD --oneline >& v2.1.0.txt
./etc/maketag.sh

# Edit the log to add a release description
vi v2.1.0.txt
vi v${tagname}.txt

# make a tag
git tag -F v2.1.0.txt v2.1.0
git tag -F v${tagname}.txt v${tagname}

# push to origin!

Expand Down
4 changes: 2 additions & 2 deletions etc/maketag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
git checkout master
git merge develop

oldtag=v2.1.5
tagname=v2.1.6
if [ -z ${oldtag+x} ]; then echo "oldtag is unset"; else echo "oldtag is set to '$oldtag'"; fi
if [ -z ${tagname+x} ]; then echo "tagname is unset"; else echo "tagname is set to '$tagname'"; fi

echo "Commit Log:" >> ${tagname}.txt

Expand Down

0 comments on commit 9198c0e

Please sign in to comment.