Skip to content

Commit

Permalink
fix: link type
Browse files Browse the repository at this point in the history
  • Loading branch information
shencangsheng committed Sep 16, 2022
1 parent 00a72b5 commit 16862f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions post-gitlab-release-links-14.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name=
url=
link_type="other"

while getopts "n:p:u:t:h" opt; do
while getopts "n:u:t:h" opt; do
case $opt in
n)
name=$OPTARG
Expand Down Expand Up @@ -35,4 +35,4 @@ curl --request POST "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/releases/${CI_CO
--header "PRIVATE-TOKEN: ${ACCESS_TOKEN}" \
--data name="${name}" \
--data url="${url}" \
--data type="${type}"
--data link_type="${link_type}"

0 comments on commit 16862f7

Please sign in to comment.