Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
153
Issues
153
List
Board
Labels
Milestones
Merge Requests
9
Merge Requests
9
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
haskell-gargantext
Commits
93dcf09f
Commit
93dcf09f
authored
Mar 14, 2023
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CLEAN] version script in main repo
parent
3ec95b0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
35 deletions
+0
-35
version
version
+0
-35
No files found.
version
deleted
100755 → 0
View file @
3ec95b0a
#!/bin/bash
# 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
#################################################################
# Haskell
#################################################################
YAML
=
"package.yaml"
CABL
=
"gargantext.cabal"
sed
-i
"s/version:.*/version:
\'
$VERSION
\'
/"
$YAML
sed
-i
"s/^version:.*/version:
$VERSION
/"
$CABL
git add
-u
git commit
-m
"[VERSION] +1 to
${
VERSION
}
"
git tag
$VERSION
#################################################################
# Purescript
#################################################################
JSON
=
"purescript-gargantext/package.json"
sed
-i
"s/
\"
version
\"
:
\"
.*
\"
/
\"
version
\"
:
\"
${
VERSION
}
\"
/"
$JSON
cd
purescript-gargantext
git add
-u
git commit
-m
"[VERSION] +1 to
${
VERSION
}
"
git tag
$VERSION
cd
..
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