Prep for 3.0.0 release

This commit is contained in:
Benjamin Lannon 2021-05-29 11:29:09 -04:00
commit 1f8a700551
5 changed files with 8 additions and 11 deletions

View file

@ -1,7 +1,8 @@
# Unreleased Changes # 3.0.0 - May 29, 2021
- breaking: Switched default behavior to not delete default labels. To enable this, set `delete` input to true. - breaking: Switched default behavior to not delete default labels. To enable this, set `delete` input to true
- chore: Moved from parcel to NCC for bundling the code down. - chore: Moved from parcel to NCC for bundling the code down
- fix: no longer tries to update if the label didn't have a description
- chore: Updated dependencies - chore: Updated dependencies
# 2.0.0 - August 25, 2019 # 2.0.0 - August 25, 2019

View file

@ -96,10 +96,6 @@ function diffLabels(oldLabels, newLabels) {
oldLabel.color !== newLabel.color || oldLabel.color !== newLabel.color ||
(typeof newLabel.description !== 'undefined' && oldLabel.description !== newLabel.description) (typeof newLabel.description !== 'undefined' && oldLabel.description !== newLabel.description)
) { ) {
console.log('update')
console.log({ oldLabel })
console.log({ newLabel })
// UPDATE // UPDATE
labelModList.push({ type: "update", label: newLabel }); labelModList.push({ type: "update", label: newLabel });
} }

File diff suppressed because one or more lines are too long

4
package-lock.json generated
View file

@ -1,11 +1,11 @@
{ {
"name": "issue-label-manager-action", "name": "issue-label-manager-action",
"version": "2.0.0", "version": "3.0.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"version": "2.0.0", "version": "3.0.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@actions/core": "^1.3.0", "@actions/core": "^1.3.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "issue-label-manager-action", "name": "issue-label-manager-action",
"version": "2.0.0", "version": "3.0.0",
"description": "Will update repo's labels based on data in JSON file located at $REPO/.github/labels.json", "description": "Will update repo's labels based on data in JSON file located at $REPO/.github/labels.json",
"main": "index.js", "main": "index.js",
"keywords": [], "keywords": [],