Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
release: Fix license file name
Browse files Browse the repository at this point in the history
  • Loading branch information
kemitchell committed Jan 8, 2020
1 parent d98d8b4 commit ba91ca5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions release
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ version="$1"
current="$(git rev-parse --abbrev-ref HEAD)"
branch="release-$version"
tag="v$version"
LICENSE=LICENSE.md
license=license.md

git checkout -b "$branch" master
sed --in-place "s/Development Draft/$version/" $LICENSE
sed --in-place "s/{version}/$version/" $LICENSE
git add $LICENSE
sed --in-place "s/Development Draft/$version/" "$license"
sed --in-place "s/{version}/$version/" "$license"
git add "$license"
git commit -m "Version $version"
git tag "$tag"
git push origin "$branch"
Expand Down

0 comments on commit ba91ca5

Please sign in to comment.