Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
sakia
Commits
623a97e4
This project is archived. Its data is
read-only
.
Commit
623a97e4
authored
Apr 29, 2017
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
Release.sh script update
parent
43a4d59e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
release.sh
+1
-1
1 addition, 1 deletion
release.sh
with
1 addition
and
1 deletion
release.sh
+
1
−
1
View file @
623a97e4
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
current
=
`
grep
-P
"__version_info__ =
\(\'\d
+
\'
,
\'\d
+
\'
,
\'\d
+(
\w
*)
\'\)
"
src/sakia/__init__.py |
grep
-oP
"
\'\d
+
\'
,
\'\d
+
\'
,
\'\d
+(
\w
*)
\'
"
`
current
=
`
grep
-P
"__version_info__ =
\(\'\d
+
\'
,
\'\d
+
\'
,
\'\d
+(
\w
*)
\'\)
"
src/sakia/__init__.py |
grep
-oP
"
\'\d
+
\'
,
\'\d
+
\'
,
\'\d
+(
\w
*)
\'
"
`
echo
"Current version:
$current
"
echo
"Current version:
$current
"
if
[[
$1
=
~ ^[0-9]+.[0-9]+.[0-9]+[0-9a-z]
*
$
]]
;
then
if
[[
$1
=
~ ^[0-9]+.[0-9]+.[0-9]+[0-9
A-Z
a-z]
*
$
]]
;
then
IFS
=
'.'
read
-r
-a
array
<<<
"
$1
"
IFS
=
'.'
read
-r
-a
array
<<<
"
$1
"
sed
-i
"s/__version_info__
\
= (
$current
)/__version_info__ = ('
${
array
[0]
}
', '
${
array
[1]
}
', '
${
array
[2]
}
')/g"
src/sakia/__init__.py
sed
-i
"s/__version_info__
\
= (
$current
)/__version_info__ = ('
${
array
[0]
}
', '
${
array
[1]
}
', '
${
array
[2]
}
')/g"
src/sakia/__init__.py
sed
-i
"s/#define MyAppVerStr .*/#define MyAppVerStr
\"
$1
\"
/g"
ci/appveyor/sakia.iss
sed
-i
"s/#define MyAppVerStr .*/#define MyAppVerStr
\"
$1
\"
/g"
ci/appveyor/sakia.iss
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment