Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
majora-go
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
majora
majora-go
Commits
76d4ac67
Commit
76d4ac67
authored
Jun 08, 2022
by
liguobao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 更新OSS地址
parent
942eb493
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
release.sh
release.sh
+3
-4
No files found.
release.sh
View file @
76d4ac67
#!/usr/bin/env bash
#!/usr/bin/env bash
TOKEN
=
Aau6PvRI4o0OTYrgpQHzxG7qEDkADx6CaUAJV2
TOKENONLINE
=
4583kfhbdk7gydhf293r23r
TOKENONLINE
=
456734sdlasysdhf293r23r
make
make
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
...
@@ -48,11 +47,11 @@ for os in $os_all; do
...
@@ -48,11 +47,11 @@ for os in $os_all; do
if
[
"x
${
os
}
"
=
x
"windows"
]
;
then
if
[
"x
${
os
}
"
=
x
"windows"
]
;
then
zip
-rq
${
majora_dir_name
}
.zip
${
majora_dir_name
}
zip
-rq
${
majora_dir_name
}
.zip
${
majora_dir_name
}
# curl -F file=@"${majora_dir_name}.zip" -F token=$TOKEN http://81.70.224.147:10010/version/"$majora_version"
# curl -F file=@"${majora_dir_name}.zip" -F token=$TOKEN http://81.70.224.147:10010/version/"$majora_version"
curl
-F
file
=
@
"
${
majora_dir_name
}
.zip"
-F
token
=
$TOKENONLINE
https://oss.
virjar.com
/majora/bin/
"
$majora_version
"
curl
-F
file
=
@
"
${
majora_dir_name
}
.zip"
-F
token
=
$TOKENONLINE
https://oss.
iinti.cn
/majora/bin/
"
$majora_version
"
else
else
tar
-zcf
${
majora_dir_name
}
.tar.gz
${
majora_dir_name
}
tar
-zcf
${
majora_dir_name
}
.tar.gz
${
majora_dir_name
}
# curl -F file=@"${majora_dir_name}.tar.gz" -F token=$TOKEN http://81.70.224.147:10010/version/"$majora_version"
# curl -F file=@"${majora_dir_name}.tar.gz" -F token=$TOKEN http://81.70.224.147:10010/version/"$majora_version"
curl
-F
file
=
@
"
${
majora_dir_name
}
.tar.gz"
-F
token
=
$TOKENONLINE
https://oss.
virjar.com
/majora/bin/
"
$majora_version
"
curl
-F
file
=
@
"
${
majora_dir_name
}
.tar.gz"
-F
token
=
$TOKENONLINE
https://oss.
iinti.cn
/majora/bin/
"
$majora_version
"
fi
fi
cd
..
cd
..
rm
-rf
${
majora_path
}
rm
-rf
${
majora_path
}
...
...
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