From 57d381fff1250c44d2de2a37fad2d13e49be8efc Mon Sep 17 00:00:00 2001 From: Alex Leventer Date: Sun, 3 May 2020 16:01:07 -0700 Subject: [PATCH] set up release process --- .gitignore | 2 ++ package.json | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index adf2d215..c351cb46 100644 --- a/.gitignore +++ b/.gitignore @@ -94,3 +94,5 @@ dist/ .idea/ release.sh + +releases diff --git a/package.json b/package.json index f94e9016..d1340df3 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "license": "MIT", "scripts": { "build": "tsc", - "test": "jest" + "test": "jest", + "release": "tsc && mkdir releases && zip -r releases/gh-issues-due-date-action-$(node -p \"require('./package.json').version\").zip dist/" }, "devDependencies": { "@types/jest": "^25.2.1",