Commit 85b55114 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Ajoute un script bin/release pour tagger des versions.

parent c8759aa8
#!/usr/bin/env bash
git checkout -f -b "release-$TAG" master
sed -i -e "s/master/$TAG/g" prezbuilder-ci.yml src/
git add prezbuilder-ci.yml src/
git commit -m "Prépare la release $TAG"
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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment