Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pôle IS
Outillage
prezbuilder
Commits
85b55114
Commit
85b55114
authored
May 13, 2020
by
Guillaume Perréal
Browse files
Ajoute un script bin/release pour tagger des versions.
parent
c8759aa8
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/release
0 → 100755
View file @
85b55114
#!/usr/bin/env bash
TAG
=
"
$1
"
git checkout
-f
-b
"release-
$TAG
"
master
sed
-i
-e
"s/master/
$TAG
/g"
prezbuilder-ci.yml src/index.md README.md
git add prezbuilder-ci.yml src/index.md README.md
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
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment