Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
deploy-script
Project
Project
Details
Activity
Releases
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
script
deploy-script
Commits
35842ec7
Commit
35842ec7
authored
Mar 25, 2021
by
白秀江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新send_ding.sh
parent
a28f1cc3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
send_ding.sh
send_ding.sh
+0
-16
No files found.
send_ding.sh
View file @
35842ec7
...
...
@@ -247,22 +247,6 @@ function main() {
sendDingMessage
"
${
DING_URL
}
"
"
${
DING_MESSAGE
}
"
}
# 判断参数个数
if
[
$#
-eq
0
]
;
then
usage
exit
1
fi
# getopt 命令行参数
if
!
ARGS
=
$(
getopt
-o
vAa:t:T:c:m:
--long
help
,version
-n
"
${
SCRIPT_NAME
}
"
--
"
$@
"
)
then
# 无效选项,则退出
exit
1
fi
# 命令行参数格式化
eval set
--
"
${
ARGS
}
"
while
[
-n
"
$1
"
]
do
...
...
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