diff --git a/.github/workflows/initrepo.yml b/.github/workflows/initrepo.yml index 3883adc..67ebece 100644 --- a/.github/workflows/initrepo.yml +++ b/.github/workflows/initrepo.yml @@ -39,12 +39,12 @@ jobs: sed -i "s/${ESCAPED_ORIGINAL}/${ESCAPED_REPLACE}/g" ./**/*.yaml sed -irn 's/version:.*$/version: "0.1.0"/g' chart/Chart.yaml sed -irn 's/appVersion:.*$/appVersion: "0.1.0"/g' chart/Chart.yaml - - name: Update .gitignore, Dockerfile and GetSLI eventhandler + - name: Update .gitignore, Dockerfile, actionTriggered eventhandler, and GetSLI eventhandler run: | NEW_SERVICE_NAME=$(echo ${{ github.repository }} | sed -e 's/${{ github.repository_owner }}\///') ESCAPED_ORIGINAL=$(printf '%s\n' "$ORIGINAL_SERVICE_NAME" | sed -e 's/[\/&]/\\&/g') ESCAPED_REPLACE=$(printf '%s\n' "$NEW_SERVICE_NAME" | sed -e 's/[\/&]/\\&/g') - sed -i "s/${ESCAPED_ORIGINAL}/${ESCAPED_REPLACE}/g" .ci_env .gitignore Dockerfile main.go eventhandlers.go eventhandler_test.go test-events/*.json + sed -i "s/${ESCAPED_ORIGINAL}/${ESCAPED_REPLACE}/g" .ci_env .gitignore Dockerfile main.go handler/*.go test-events/*.json - name: Update README.md run: | ESCAPED_ORIGINAL=$(printf '%s\n' "$ORIGINAL_IMAGE_NAME" | tr '[:upper:]' '[:lower:]' | sed -e 's/[\/&]/\\&/g')