release 422 Bytes
Newer Older
1
2
3
#!/usr/bin/env bash
TAG="$1"
git checkout -f -b "release-$TAG" master
4
5
sed -i -e "s/master/$TAG/g" prezbuilder-ci.yml src/index.md README.md bin/prezbuilder-docker
git add prezbuilder-ci.yml src/index.md README.md bin/prezbuilder-docker
6
git commit -m "Release $TAG"
7
8
9
10
git tag -f "$TAG" -m "Release $TAG"
git checkout master
git merge --no-ff -s ours "release-$TAG" -m "Merge release branch $TAG"
git branch -d "release-$TAG"