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
141
Issues
141
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
0445a8f9
Commit
0445a8f9
authored
Apr 28, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DEVOPS] script for versionning
parent
db9a57db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
version
version
+28
-0
No files found.
version
0 → 100755
View file @
0445a8f9
#!/bin/bash
# Prompt
git tag
echo
"Which version ?"
read
VERSION
echo
"Change to:
${
VERSION
}
"
#################################################################
# Haskell
#################################################################
YAML
=
"package.yaml"
sed
-i
"s/version:.*/version:
\'
$VERSION
\'
/"
$YAML
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