• Robert Knight's avatar
    Fix GitHub release generation script · 8833cb99
    Robert Knight authored
    Git has two types of tags, lightweight tags and annotated tags. Only
    annotated tags have a "tag date" associated with them. Recently it
    appears that releases have been tagged with lightweight tags rather than
    annotated tags, which the `generate-change-list.js` script did not
    handle.
    
     - When fetching the last tag, use the commit date as a fallback for the
       tag date, and bail with an error if no date can be found
    
     - Link to the HTML rather than JSON representation of a PR in release
       notes
    
     - Fix a warning about use of deprecated GitHub API pagination methods
       by switching to the pagination APIs described at
       https://octokit.github.io/rest.js/#pagination
    
     - Support running the `generate-change-list.js` script as a CLI tool
       for debugging using `node generate-change-list.js <tag name>`
    
     - Skip Dependabot PRs in the change list, as these add a lot of noise.
       Generally readers are going to be interested in non-maintenance PRs.
    8833cb99
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
embedding-examples Loading commit data...
images Loading commit data...
scripts Loading commit data...
src Loading commit data...
.babelrc Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.npmrc Loading commit data...
.prettierignore Loading commit data...
.prettierrc Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT Loading commit data...
Jenkinsfile Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
gulpfile.js Loading commit data...
package.json Loading commit data...
requirements-dev.in Loading commit data...
tox.ini Loading commit data...
yarn.lock Loading commit data...