Skip to content

Commit

Permalink
modify sed
Browse files Browse the repository at this point in the history
  • Loading branch information
heanlan committed May 14, 2021
1 parent 062bb52 commit 997e63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/generate-manifest-collector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ fi

if [ "$MODE" == "release" ]; then
# update the Chart version
version=$(sed -n 's/v\(.*\)-dev/\1/p' $THIS_DIR/../VERSION)
version=$(sed -n 's/v\(.*\)/\1/p' $THIS_DIR/../VERSION)
sed -i.bak -e "s/^version.*/version: ${version}/g" Chart.yaml
rm "Chart.yaml.bak"
# replace the line starting with "image_tag", and create a backup of the original one
Expand Down

0 comments on commit 997e63c

Please sign in to comment.