We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be0d1ac commit 7a1173bCopy full SHA for 7a1173b
prod-yolean.sh
@@ -9,7 +9,16 @@ function annotate {
9
key=$1
10
value=$2
11
file=$3
12
- sed -i "s| annotations:| annotations:\n ${ANNOTATION_PREFIX}$key: '$value'|" $file
+ case $(uname) in
13
+ Darwin*)
14
+ sed -i '' 's| annotations:| annotations:\
15
+ --next-annotation--|' $file
16
+ sed -i '' "s|--next-annotation--|${ANNOTATION_PREFIX}$key: '$value'|" $file
17
+ ;;
18
+ *)
19
+ sed -i "s| annotations:| annotations:\n ${ANNOTATION_PREFIX}$key: '$value'|" $file
20
21
+ esac
22
}
23
24
git fetch
0 commit comments