Skip to content

Commit

Permalink
Merge pull request #52 from pmowrer/upgrade-deps
Browse files Browse the repository at this point in the history
Upgrade deps
  • Loading branch information
pmowrer authored Jul 8, 2020
2 parents 21d657e + 715bf6a commit 8d7a71c
Show file tree
Hide file tree
Showing 5 changed files with 1,528 additions and 1,439 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 Updater Inc.
Copyright (c) 2020 Patrick Mowrer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion bin/semantic-release-github-pr.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const { getCurrentBranchName } = require('../src/git-utils');
const currentBranchName = await getCurrentBranchName();
// If we're in a "detached HEAD" state, assume we're running on CI.
const branch =
currentBranchName !== 'HEAD' ? currentBranchName : envCi().branch;
currentBranchName !== 'HEAD' ? currentBranchName : envCi().prBranch;

const args = argv.slice(2).concat([
// We want to run on pull request builds, but `semantic-release` won't
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"src",
"bin"
],
"repository": "https://github.com/Updater/semantic-release-github-pr.git",
"repository": "https://github.com/pmowrer/semantic-release-github-pr.git",
"scripts": {
"format": "prettier --write --single-quote --trailing-comma es5",
"format:all": "yarn format \"./**/*.js\"",
Expand All @@ -25,15 +25,15 @@
"github": "^13.0.0",
"parse-github-url": "^1.0.2",
"ramda": "^0.26.1",
"read-pkg": "^5.2.0"
"read-pkg": "^5.2.0",
"semantic-release-plugin-decorators": "^3.0.0"
},
"devDependencies": {
"husky": "^4.2.1",
"jest": "^25.1.0",
"lint-staged": "^10.0.3",
"prettier": "^1.19.1",
"semantic-release": "^17.0.0",
"semantic-release-plugin-decorators": "^2.1.0"
"semantic-release": "^17.0.0"
},
"husky": {
"hooks": {
Expand Down
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,7 @@ const generateNotes = async (pluginConfig, context) => {
module.exports = {
verifyConditions: '@semantic-release/github',
analyzeCommits: appendStep('analyzeCommits', decoratePlugin(analyzeCommits)),
generateNotes: appendStep('generateNotes', decoratePlugin(generateNotes)),
generateNotes: appendStep('generateNotes', decoratePlugin(generateNotes), {
defaultReturn: '',
}),
};
Loading

0 comments on commit 8d7a71c

Please sign in to comment.