From 9fb36f0030fd6eddd555ce0c072d5bfee282662c Mon Sep 17 00:00:00 2001
From: Josip Janzic <me@josip.dev>
Date: Tue, 2 Aug 2022 23:43:31 +0200
Subject: [PATCH] Add greater-version-only to action inputs

---
 action.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/action.yml b/action.yml
index 1794957..b3c862a 100644
--- a/action.yml
+++ b/action.yml
@@ -45,6 +45,11 @@ inputs:
     required: false
     default: "true"
 
+  greater-version-only:
+    description: Only publish to NPM if the version number in package.json is greater than the latest on NPM
+    required: false
+    default: "false"
+
 outputs:
   type:
     description: The type of version change that occurred ("none", "major", "minor", "patch", etc.)