Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
529
Issue boards
Milestones
Wiki
Code
Merge requests
15
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
71481c5c
Commit
71481c5c
authored
3 years ago
by
Nicolas Pomepuy
Browse files
Options
Downloads
Patches
Plain Diff
Add the file path to the publish to maven script
parent
7a642028
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!969
Add the file path to the publish to maven script
Pipeline
#93221
passed with stage
in 18 minutes and 51 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
buildsystem/maven/README.md
+1
-1
1 addition, 1 deletion
buildsystem/maven/README.md
buildsystem/maven/deploy-to-mavencentral.sh
+11
-3
11 additions, 3 deletions
buildsystem/maven/deploy-to-mavencentral.sh
with
12 additions
and
4 deletions
buildsystem/maven/README.md
+
1
−
1
View file @
71481c5c
...
...
@@ -26,7 +26,7 @@ Copy the file to this directory (`buildsystem/maven`)
You just have to plug your yubikey and run the script
`./deploy-to-mavencentral.sh`
`./deploy-to-mavencentral.sh
[FILE_PATH]
`
The script will do the following actions:
...
...
This diff is collapsed.
Click to expand it.
buildsystem/maven/deploy-to-mavencentral.sh
+
11
−
3
View file @
71481c5c
...
...
@@ -28,6 +28,14 @@ function red() {
echo
-e
"
\0
33[1;31m===================
\n
$1
\n
===================
\0
33[0m"
}
if
[
$#
-eq
0
]
then
red
"The file path has not been specified."
exit
1
fi
FILE
=
$1
#START
rm
-rf
$OUTPUT_DIR
...
...
@@ -35,11 +43,11 @@ mkdir -p $OUTPUT_DIR
blue
"File management"
#check files
if
test
-f
"
dbg.zip
"
;
then
if
test
-f
"
$FILE
"
;
then
blue
"File exists. Unzipping"
unzip
"
dbg.zip
"
-d
$OUTPUT_DIR
unzip
"
$FILE
"
-d
$OUTPUT_DIR
else
red
"Cannot find the
dbg.zip
file."
red
"Cannot find the
$FILE
file."
exit
1
fi
...
...
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