Skip to content

Commit

Permalink
Move release notes file to tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffh committed Sep 20, 2016
1 parent 20beabe commit 0209419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/release
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ fi

if [ ! -f "$RELEASE_NOTES" ]; then
echo " > Failed to find $RELEASE_NOTES. Prompting editor"
RELEASE_NOTES=.release-changes
RELEASE_NOTES=/tmp/nimble.release.notes
LATEST_TAG=`git for-each-ref refs/tags --sort=-refname --format="%(refname:short)" | grep -E "^v\d+\.\d+\.\d+(-\w+(\.\d)?)?\$" | ruby -e 'puts STDIN.read.split("\n").sort { |a,b| Gem::Version.new(a.gsub(/^v/, "")) <=> Gem::Version.new(b.gsub(/^v/, "")) }.last'`
echo " > Latest tag ${LATEST_TAG}"
echo "${POD_NAME} v$VERSION" > $RELEASE_NOTES
Expand Down

0 comments on commit 0209419

Please sign in to comment.