From b2e4445c51cb361292ce77b1408df376f32b1fde Mon Sep 17 00:00:00 2001
From: Vincent Behar <vincent.behar@dailymotion.com>
Date: Mon, 11 May 2020 07:08:23 +0200
Subject: [PATCH] fix updating the plugin.yaml file in goreleaser

fixes https://github.com/vbehar/helm3-unittest/runs/662124651?check_suite_focus=true
---
 .gitignore                 | 2 ++
 plugin.yaml => plugin.tmpl | 0
 update_version.sh          | 1 +
 3 files changed, 3 insertions(+)
 rename plugin.yaml => plugin.tmpl (100%)

diff --git a/.gitignore b/.gitignore
index 6151f0320..b23a8e2dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,5 @@ helm3-unittest
 _dist
 
 .DS_Store
+
+plugin.yaml
diff --git a/plugin.yaml b/plugin.tmpl
similarity index 100%
rename from plugin.yaml
rename to plugin.tmpl
diff --git a/update_version.sh b/update_version.sh
index 61040e260..23d689a0b 100755
--- a/update_version.sh
+++ b/update_version.sh
@@ -2,4 +2,5 @@
 
 # script used by goreleaser - see .goreleaser.yml
 
+cp plugin.tmpl plugin.yaml
 echo "version: $1" >> plugin.yaml