Skip to content

Commit

Permalink
fix(ci): fix commit param number in mg.sh (#1628)
Browse files Browse the repository at this point in the history
I can't count :nami:

Signed-off-by: madomado <[email protected]>
(cherry picked from commit d7fcfc5)
  • Loading branch information
madonuko authored and raboneko committed Jul 24, 2024
1 parent c29fbdc commit 83a586f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set -x

dirs=$2
dirs=${dirs/\/pkg/}
export p="{\"id\":\"$5\",\"ver\":\"%v\",\"rel\":\"%r\",\"arch\":\"$4\",\"dirs\":\"$dirs\",\"succ\":$1,\"commit\":\"$6\"}"
export p="{\"id\":\"$5\",\"ver\":\"%v\",\"rel\":\"%r\",\"arch\":\"$4\",\"dirs\":\"$dirs\",\"succ\":$1,\"commit\":\"$7\"}"

if [[ $1 == false ]]; then
d=${p/\%v/?}
Expand Down

0 comments on commit 83a586f

Please sign in to comment.