Skip to content

Commit

Permalink
chore(apps/prod/tekton/configs/tasks): support those tags to be merged
Browse files Browse the repository at this point in the history
- release-1.0-1234567-debug => release-1.0-debug

Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo committed Dec 18, 2023
1 parent 2fc94c1 commit 7974d4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
# [master-00595b4-release] => [master-00595b4-release, master-00595b4]
tags="$tags $(echo $tag | sed -E 's/[-_]$(params.release_tag_suffix)$//g')"
# [..., master-00595b4] => [..., master-00595b4, master]
tags="$tags $(echo ${tags##* } | sed -E 's/[-][0-9a-f]{7,40}$//g')"
tags="$tags $(echo ${tags##* } | sed -E 's/[-][0-9a-f]{7,40}//g')"
# for tags
for t in $tags; do
Expand Down

0 comments on commit 7974d4a

Please sign in to comment.