Skip to content

Semver updates and release tweaks #164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Release Checklist

Make sure you have npm + git credentials set up.

- [ ] Make changes and/or merge PRs.
- [ ] Document changes in a gh-release draft. If no draft exists, create one.
- [ ] `git checkout master`
- [ ] `git pull`
- [ ] `npm version [ major | minor | patch ]`
- [ ] `git push && git push --tags`
- [ ] Assign draft gh-release to new tag and publish release notes and double check everything looks right.
- [ ] `npm publish`
- [ ] `npm run publish`
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@
"dev": "cross-env NODE_ENV=development webpack-dev-server --inline --progress --config webpack.config.babel.js",
"react-demo": "cd example && yarn && yarn start",
"prestart": "run-s build",
"version": "run-s release",
"version": "run-s release changelog",
"prepublish": "run-s build",
"build": "run-p build:*",
"build:bundle": "cross-env NODE_ENV=production webpack --config webpack.config.babel.js",
"build:umd": "cross-env NODE_ENV=production webpack --config webpack.umd.config.babel.js",
"prebuild": "rimraf build && mkdirp build",
"test": "eslint src",
"release": "node ./script/release.js",
"changelog": "auto-changelog -p && git add CHANGELOG.md",
"format": "prettier --write 'src/**/*.js'",
"format-preview": "prettier --list-different 'src/**/*.js'"
"format-preview": "prettier --list-different 'src/**/*.js'",
"publish": "git push && git push --tags && gh-release && npm publish"
},
"main": "./build/netlify-identity",
"keywords": [
Expand All @@ -27,6 +29,7 @@
"license": "MIT",
"author": "Matt Biilmann <[email protected]>",
"devDependencies": {
"auto-changelog": "^1.10.2",
"babel-cli": "^6.5.2",
"babel-core": "^6.24.0",
"babel-eslint": "^8.2.1",
Expand Down Expand Up @@ -67,5 +70,8 @@
"webpack": "^3.0.0",
"webpack-dev-server": "^2.11.1",
"webpack-node-externals": "^1.6.0"
},
"dependencies": {
"gh-release": "^3.4.0"
}
}
18 changes: 8 additions & 10 deletions src/components/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,16 +172,14 @@ class App extends Component {
>
{this.renderBody()}
{this.renderProviders()}
{!store.user &&
page.link &&
store.gotrue && (
<button
onclick={pageLinkHandler}
className="btnLink forgotPasswordLink"
>
{page.link_text}
</button>
)}
{!store.user && page.link && store.gotrue && (
<button
onclick={pageLinkHandler}
className="btnLink forgotPasswordLink"
>
{page.link_text}
</button>
)}
</Modal>
</div>
);
Expand Down
Loading