From 43b537e671c6dc87c4aecf82342434cda3f247c5 Mon Sep 17 00:00:00 2001 From: Tim Nolte Date: Thu, 18 Mar 2021 17:10:41 -0400 Subject: [PATCH] Fixes Grunt Configuration for Automated Releases by Tags (#121) * Fixes Grunt Release Task to Run on HEAD for GitHub Action (#120) * Fixes Grunt Release Configuration for Automated Releases --- Gruntfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index b3ebc59..3d44e89 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -135,7 +135,9 @@ module.exports = function (grunt) { checkrepo: { deploy: { tagged: true, // Check that the last commit (HEAD) is tagged - clean: true // Check that working directory is clean + tag: { + eq: '<%= pkg.version %>' // Check if highest repo tag is equal to pkg.version + } } },