Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Carlos Ramos Carreño
slapos.package
Commits
431fa584
Commit
431fa584
authored
Aug 31, 2012
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Now use branch of obs project for developpement
parent
fa09225f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
prepare_slapos_build.sh
prepare_slapos_build.sh
+2
-7
No files found.
prepare_slapos_build.sh
View file @
431fa584
...
...
@@ -3,14 +3,11 @@
VERSION
=
0.28.2
RECIPE_VERSION
=
0.101
CURRENT_RECIPE_VERSION
=
$(
cat
./slapos-recipe-version
)
CURRENT_VERSION
=
$(
cat
./slapos-version
)
CURRENT_DIRECTORY
=
"
$(
pwd
)
"
TEMPLATES_DIRECTORY
=
$CURRENT_DIRECTORY
/templates
SLAPOS_ORGINAL_DIRECTORY
=
slapos-node
SLAPOS_DIRECTORY
=
slapos-node_
$VERSION
+
$RECIPE_VERSION
+0
OBS_DIRECTORY
=
$CURRENT_DIRECTORY
/home:VIFIBnexedi/SlapOS-Node
OBS_DIRECTORY
=
$CURRENT_DIRECTORY
/home:VIFIBnexedi
:branches:home:VIFIBnexedi
/SlapOS-Node
# Prepare directory for new version if needed
...
...
@@ -49,11 +46,9 @@ osc add slapos.spec
##################### Prepare configuration file for .deb ############
# Add entry to changelog
if
[
$RECIPE_VERSION
!=
$CURRENT_RECIPE_VERSION
]
then
cd
$TEMPLATES_DIRECTORY
/debian
dch
-pm
-v
$VERSION
+
$RECIPE_VERSION
+0
--check-dirname-level
=
0
"New version of slapos (
$VERSION
+
$RECIPE_VERSION
)"
fi
cd
$TEMPLATES_DIRECTORY
tar
-czf
debian.tar.gz debian
cd
$OBS_DIRECTORY
...
...
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