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

Commit

Permalink
release: Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
kemitchell committed Jan 8, 2020
1 parent ba91ca5 commit ca588a3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions release
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ fi
set -ex

version="$1"
current="$(git rev-parse --abbrev-ref HEAD)"
branch="release-$version"
working_branch="$(git rev-parse --abbrev-ref HEAD)"
release_branch="release-$version"
tag="v$version"
license=license.md

git checkout -b "$branch" master
git checkout -b "$release_branch" "$working_branch"
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"
git push origin "$release_branch"
git push origin "$tag"
git checkout "$current"
git checkout "$working_branch"

0 comments on commit ca588a3

Please sign in to comment.