Skip to content

Commit

Permalink
Prep for 3.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
lannonbr committed May 29, 2021
1 parent 847b8a8 commit 1f8a700
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 11 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
- chore: Moved from parcel to NCC for bundling the code down.
- 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
- fix: no longer tries to update if the label didn't have a description
- chore: Updated dependencies

# 2.0.0 - August 25, 2019
Expand Down
4 changes: 0 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@ function diffLabels(oldLabels, newLabels) {
oldLabel.color !== newLabel.color ||
(typeof newLabel.description !== 'undefined' && oldLabel.description !== newLabel.description)
) {
console.log('update')
console.log({ oldLabel })
console.log({ newLabel })

// UPDATE
labelModList.push({ type: "update", label: newLabel });
}
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"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",
"main": "index.js",
"keywords": [],
Expand Down

0 comments on commit 1f8a700

Please sign in to comment.