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
Jérome Perrin
slapos.package
Commits
38c22155
Commit
38c22155
authored
Sep 06, 2022
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
obs/slapos: fix use shorter name
fixup for
203927d9
The old tarball was not removed correctly
parent
a823f13d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
obs/slapos/prepare_obs_upload.sh
obs/slapos/prepare_obs_upload.sh
+1
-1
obs/slapos/release_configuration.sh
obs/slapos/release_configuration.sh
+2
-1
No files found.
obs/slapos/prepare_obs_upload.sh
View file @
38c22155
...
@@ -10,7 +10,7 @@ cd $OBS_DIRECTORY
...
@@ -10,7 +10,7 @@ cd $OBS_DIRECTORY
osc up
osc up
# Remove former configuration
# Remove former configuration
osc
rm
-f
$SLAPOS_
ORGINAL_DIRECTORY
*
.tar.gz
osc
rm
-f
$SLAPOS_
DIRECTORY_PREFIX
*
.tar.gz
osc
rm
-f
slapos.spec
osc
rm
-f
slapos.spec
# Prepare new tarball
# Prepare new tarball
...
...
obs/slapos/release_configuration.sh
View file @
38c22155
...
@@ -15,7 +15,8 @@ OBS_DIRECTORY=$CURRENT_DIRECTORY/home:VIFIBnexedi:branches:home:VIFIBnexedi/Slap
...
@@ -15,7 +15,8 @@ OBS_DIRECTORY=$CURRENT_DIRECTORY/home:VIFIBnexedi:branches:home:VIFIBnexedi/Slap
TEMPLATES_DIRECTORY
=
$CURRENT_DIRECTORY
/templates
TEMPLATES_DIRECTORY
=
$CURRENT_DIRECTORY
/templates
SLAPOS_ORGINAL_DIRECTORY
=
slapos-node
SLAPOS_ORGINAL_DIRECTORY
=
slapos-node
SLAPOS_DIRECTORY
=
sn_
$VERSION
+
$RECIPE_VERSION
+
$RELEASE
SLAPOS_DIRECTORY_PREFIX
=
sn
SLAPOS_DIRECTORY
=
${
SLAPOS_DIRECTORY_PREFIX
}
_
$VERSION
+
$RECIPE_VERSION
+
$RELEASE
VERSION_REGEX
=
"s/
\%
RECIPE_VERSION
\%
/
$RECIPE_VERSION
/g;s/
\%
VERSION
\%
/
$VERSION
/g;s/
\%
RELEASE
\%
/
$RELEASE
/g;s/
\%
SLAPOS_DIRECTORY
\%
/
$SLAPOS_DIRECTORY
/g"
VERSION_REGEX
=
"s/
\%
RECIPE_VERSION
\%
/
$RECIPE_VERSION
/g;s/
\%
VERSION
\%
/
$VERSION
/g;s/
\%
RELEASE
\%
/
$RELEASE
/g;s/
\%
SLAPOS_DIRECTORY
\%
/
$SLAPOS_DIRECTORY
/g"
export
SSL_CERT_FILE
=
/etc/ssl/certs/ca-certificates.crt
export
SSL_CERT_FILE
=
/etc/ssl/certs/ca-certificates.crt
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