Skip to content

Commit

Permalink
chore(semantic-release): added the semantic-release release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
GabeDuarteM committed Apr 22, 2018
1 parent 8113229 commit 5e37102
Show file tree
Hide file tree
Showing 5 changed files with 969 additions and 29 deletions.
32 changes: 32 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"verifyConditions": ["semantic-release-chrome", "@semantic-release/github"],
"prepare": [
{
"path": "semantic-release-chrome",
"asset": "webplayer-hotkeys.zip"
}
],
"publish": [
{
"path": "semantic-release-chrome",
"asset": "webplayer-hotkeys.zip",
"extensionId": "ikmkicnmahfdilneilgibeppbnolgkaf"
},
{
"path": "@semantic-release/github",
"assets": [
{
"path": "webplayer-hotkeys.zip"
}
]
}
],
"analyzeCommits": {
"releaseRules": [
{
"scope": "manifest",
"release": "patch"
}
]
}
}
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ node_js:
- node
script:
- yarn build:ci
os:
- linux
- osx
after_success:
- yarn release
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webplayer-hotkeys",
"version": "1.1.1",
"version": "0.0.0-development",
"main": "src\\background.ts",
"repository": "https://github.com/GabrielDuarteM/Webplayer-Hotkeys.git",
"author": "Gabriel Duarte <[email protected]> (https://github.com/GabrielDuarteM/)",
Expand All @@ -13,7 +13,8 @@
"lint": "yarn lint:tslint && yarn lint:prettier",
"lint:tslint": "tslint 'src/**/*.ts' '*.ts' -p tsconfig.json",
"lint:prettier": "prettier **/*.ts -l",
"webpack": "webpack --progress"
"webpack": "webpack --progress",
"release": "semantic-release"
},
"devDependencies": {
"@types/chrome": "^0.0.64",
Expand All @@ -25,6 +26,8 @@
"copy-webpack-plugin": "^4.5.1",
"fork-ts-checker-webpack-plugin": "^0.4.1",
"prettier": "^1.12.1",
"semantic-release": "^15.1.7",
"semantic-release-chrome": "^1.0.0",
"source-map-loader": "^0.2.3",
"ts-loader": "^4.2.0",
"ts-node": "^6.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Webplayer Hotkeys - Shortcuts for web players",
"version": "1.1.1",
"version": "0.0.0",
"description":
"Assign hotkeys to play/pause, and switch music. Works with Spotify, Deezer, SoundCloud and Youtube.",
"icons": {
Expand Down
Loading

0 comments on commit 5e37102

Please sign in to comment.