Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
celllframe-node
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Code
Merge requests
16
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
celllframe-node
Commits
c639953f
Commit
c639953f
authored
4 years ago
by
Dmitriy A. Gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[*] Subs init for CellFrame SDK
parent
e5cd1bf4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
prod_build/general/pre-build.sh
+7
-1
7 additions, 1 deletion
prod_build/general/pre-build.sh
with
7 additions
and
1 deletion
prod_build/general/pre-build.sh
+
7
−
1
View file @
c639953f
...
...
@@ -5,7 +5,7 @@ extract_version_number() {
IFS
=
" "
local
VERSION_STRING
=
$VERSION_FORMAT
for
entry
in
$VERSION_ENTRIES
;
do
VERSION_STRING
=
$(
echo
$VERSION_STRING
|
sed
"s/
$entry
/
$(
cat
$VERSION_FILE
|
grep
$entry
|
grep
[
0-9] |
cut
-d
' '
-f3
|
cut
-d
')'
-f1
)
/"
)
#Replacing templates with numbers
VERSION_STRING
=
$(
echo
$VERSION_STRING
|
sed
"s/
$entry
/
$(
cat
$VERSION_FILE
|
grep
$entry
|
grep
[
0-9] |
cut
-d
' '
-f3
|
cut
-d
")"
-f1
)
/"
)
#Replacing templates with numbers
done
echo
-e
"
$VERSION_STRING
"
...
...
@@ -40,3 +40,9 @@ for variable in $(cat $1); do
done
}
# init cellframe-sdk subs
cd
cellframe-sdk
git submodule init
git submodule update
cd
..
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
register
or
sign in
to comment