-
Notifications
You must be signed in to change notification settings - Fork 73
@damassi => Add semantic-release #521
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
Changes from all commits
0444c11
6cb2b8d
954ec94
c6fc1a1
44e6fa9
820c1b9
f0056e0
ca470de
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "name": "@artsy/reaction-force", | ||
| "version": "0.23.1", | ||
| "version": "0.0.0-development", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will this account for existing packages that have already been published to NPM? Does it determine from there that the current release is
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, it should fetch the version number from the existing package on npm. This version number is a placeholder and will always read 0.0.0.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When merging, the build on Circle will log which commits trigger changes, as well as the new version number.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sweet, just wanted to double check 👍
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also wanted to note it looks like this version number is being overwritten when I push a commit, but don't see where this is being set. |
||
| "description": "Force’s React Components", | ||
| "main": "dist/index.js", | ||
| "repository": "https://github.com/artsy/reaction.git", | ||
|
|
@@ -42,7 +42,8 @@ | |
| "test": "node verify-node-version.js && jest", | ||
| "test:watch": "jest --watch --runInBand", | ||
| "type-check": "tsc --noEmit --pretty", | ||
| "watch": "gulp watch" | ||
| "watch": "gulp watch", | ||
| "semantic-release": "semantic-release" | ||
| }, | ||
| "resolutions": { | ||
| "graphql": "^0.12.3", | ||
|
|
@@ -79,6 +80,7 @@ | |
| "babel-types": "^6.2.0", | ||
| "cache-loader": "^1.2.0", | ||
| "concurrently": "^3.5.0", | ||
| "conventional-changelog-ember": "^0.3.4", | ||
| "dotenv": "^4.0.0", | ||
| "enzyme": "^3.1.0", | ||
| "enzyme-adapter-react-16": "^1.0.1", | ||
|
|
@@ -107,6 +109,7 @@ | |
| "react-test-renderer": "^16.0.0", | ||
| "relay-compiler": "https://github.com/alloy/relay/releases/download/v1.5.0-artsy.3/relay-compiler-1.5.0-artsy.3.tgz", | ||
| "relay-compiler-language-typescript": "^0.9.0", | ||
| "semantic-release": "^12.4.1", | ||
| "styled-components": "^3.1.5", | ||
| "ts-loader": "^3.5.0", | ||
| "tslint": "^4.5.0", | ||
|
|
@@ -178,5 +181,17 @@ | |
| "*.json": [ | ||
| "npm run prettier-write --" | ||
| ] | ||
| }, | ||
| "release": { | ||
| "analyzeCommits": { | ||
| "preset": "ember", | ||
| "releaseRules": [ | ||
| {"tag": "DOC", "release": "patch"}, | ||
| {"tag": "FIX", "release": "patch"}, | ||
| {"tag": "PATCH", "release": "patch"}, | ||
| {"tag": "FEATURE", "release": "minor"}, | ||
| {"tag": "BREAKING", "release": "major"} | ||
| ] | ||
| } | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is some legacy stuff around here that relates to legacy deployment process. Once we've verified that this works we should make sure to remove that and update README.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For sure!