Skip to content

Commit

Permalink
use argument for version
Browse files Browse the repository at this point in the history
  • Loading branch information
philipsahli committed Sep 30, 2018
1 parent 94864e4 commit a0e8c27
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions helm/create_chart.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# sed version
#!env bash -xe

# https://medium.com/containerum/how-to-make-and-share-your-own-helm-package-50ae40f6c221

git rm -f *tgz

# tag=`git describe --tags --abbrev=0`
tag="0.1.10"
tag=$1

find plone-stack -exec grep -l "version:" {} \; 2>/dev/null| xargs sed -i "" -e "s/\(.*version:\).*/\1 ${tag}/g"

Expand Down

0 comments on commit a0e8c27

Please sign in to comment.