Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
main
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
main
Commits
51726c24
Commit
51726c24
authored
Mar 19, 2025
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[VERSION] +1 to
parent
1933149c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
27 deletions
+27
-27
version
version
+27
-27
No files found.
version
View file @
51726c24
...
...
@@ -5,33 +5,33 @@
# Prompt
TMPFILE
=
"xxxx"
git tag
echo
"Which version ?"
read
VERSION
echo
"## Version
${
VERSION
}
"
>
$TMPFILE
cat
CHANGELOG.md
>>
$TMPFILE
mv
$TMPFILE
CHANGELOG.md
vim CHANGELOG.md < /dev/tty
git add
-u
git commit
-m
"[VERSION] +1 to
${
VERSION
}
"
git tag
$VERSION
git push origin master
$VERSION
#################################################################
# Haskell
#################################################################
cd
haskell-gargantext
#YAML="package.yaml"
CABL
=
"gargantext.cabal"
#sed -i "s/version:.*/version: \'$VERSION\'/" $YAML
sed
-i
"s/^version:.*/version:
$VERSION
/"
$CABL
cp
../CHANGELOG.md
.
git add
-u
git commit
-m
"[VERSION] +1 to
${
VERSION
}
"
git tag
$VERSION
git push origin dev
$VERSION
#
git tag
#
echo "Which version ?"
#
read VERSION
#
#
echo "## Version ${VERSION}" > $TMPFILE
#
cat CHANGELOG.md >> $TMPFILE
#
mv $TMPFILE CHANGELOG.md
#
vim CHANGELOG.md < /dev/tty
#
git add -u
#
git commit -m "[VERSION] +1 to ${VERSION}"
#
git tag $VERSION
#
git push origin master $VERSION
#
#################################################################
#
#
#
Haskell
#################################################################
#
#
cd haskell-gargantext
#
#
YAML="package.yaml"
#
CABL="gargantext.cabal"
#
#
sed -i "s/version:.*/version: \'$VERSION\'/" $YAML
#
sed -i "s/^version:.*/version: $VERSION/" $CABL
#
cp ../CHANGELOG.md .
#
git add -u
#
git commit -m "[VERSION] +1 to ${VERSION}"
#
git tag $VERSION
#
git push origin dev $VERSION
#
#################################################################
# Purescript
#################################################################
...
...
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