From ddfb5dc820ca8c4c0a10dd523b90291291cc96e9 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 17 Jan 2024 22:10:45 +0100 Subject: [PATCH] fix: add missing quote to packer version extraction regex --- packer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packer.json b/packer.json index f338b68..656f3ba 100644 --- a/packer.json +++ b/packer.json @@ -8,7 +8,7 @@ "matchStrings": [ "required_version[\\s]+=[\\s]+\"=?(?\\S*)\"", "source[\\s]+=[\\s]+\"github.com/(?\\S*)\"[\\s]+version[\\s]+=[\\s]+\"(?\\S*)\"", - "version[\\s]+=[\\s]+\"(?\\S*)[\\s]+source[\\s]+=[\\s]+\"github.com/(?\\S*)\"" + "version[\\s]+=[\\s]+\"(?\\S*)\"[\\s]+source[\\s]+=[\\s]+\"github.com/(?\\S*)\"" ], "datasourceTemplate": "github-releases", "depNameTemplate": "{{#if depName}}{{#if (containsString depName 'hashicorp/')}}{{{replace 'hashicorp/' 'hashicorp/packer-plugin-' depName}}}{{else}}{{{depName}}}{{/if}}{{else}}hashicorp/packer{{/if}}"