Commit 51726c24 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[VERSION] +1 to

parent 1933149c
...@@ -5,33 +5,33 @@ ...@@ -5,33 +5,33 @@
# Prompt # Prompt
TMPFILE="xxxx" TMPFILE="xxxx"
git tag #git tag
echo "Which version ?" #echo "Which version ?"
read VERSION #read VERSION
#
echo "## Version ${VERSION}" > $TMPFILE #echo "## Version ${VERSION}" > $TMPFILE
cat CHANGELOG.md >> $TMPFILE #cat CHANGELOG.md >> $TMPFILE
mv $TMPFILE CHANGELOG.md #mv $TMPFILE CHANGELOG.md
vim CHANGELOG.md < /dev/tty #vim CHANGELOG.md < /dev/tty
git add -u #git add -u
git commit -m "[VERSION] +1 to ${VERSION}" #git commit -m "[VERSION] +1 to ${VERSION}"
git tag $VERSION #git tag $VERSION
git push origin master $VERSION #git push origin master $VERSION
#
################################################################# ##################################################################
# Haskell ## Haskell
################################################################# ##################################################################
cd haskell-gargantext #cd haskell-gargantext
#YAML="package.yaml" ##YAML="package.yaml"
CABL="gargantext.cabal" #CABL="gargantext.cabal"
#sed -i "s/version:.*/version: \'$VERSION\'/" $YAML ##sed -i "s/version:.*/version: \'$VERSION\'/" $YAML
sed -i "s/^version:.*/version: $VERSION/" $CABL #sed -i "s/^version:.*/version: $VERSION/" $CABL
cp ../CHANGELOG.md . #cp ../CHANGELOG.md .
git add -u #git add -u
git commit -m "[VERSION] +1 to ${VERSION}" #git commit -m "[VERSION] +1 to ${VERSION}"
git tag $VERSION #git tag $VERSION
git push origin dev $VERSION #git push origin dev $VERSION
#
################################################################# #################################################################
# Purescript # Purescript
################################################################# #################################################################
......
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