-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
913476c
commit a7475d0
Showing
11 changed files
with
5,172 additions
and
894 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
build | ||
node_modules | ||
src/lib/* | ||
tests/sample/lib/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"branches": ["master"], | ||
"branch": "master", | ||
"ci": false, | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
[ | ||
"@google/semantic-release-replace-plugin", | ||
{ | ||
"replacements": [ | ||
{ | ||
"files": ["src/manifest.json", "package.json"], | ||
"from": "\"version\":\\s*\".*\"", | ||
"to": "\"version\": \"${nextRelease.version}\"" | ||
} | ||
] | ||
} | ||
], | ||
[ | ||
"@semantic-release/exec", { | ||
"publishCmd": "./bin/sign-firefox.sh" | ||
} | ||
], | ||
[ | ||
"@semantic-release/changelog", { | ||
"changelogFile": "CHANGELOG.md" | ||
} | ||
], | ||
[ | ||
"@semantic-release/git", { | ||
"assets": ["README.md", "CHANGELOG.md", "package.json"], | ||
"message": "Chore: (release) add version ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" | ||
} | ||
], | ||
[ | ||
"@semantic-release/github", { | ||
"assets": [ | ||
{ "path": "build/*.zip", "label": "Packed Extention" }, | ||
{ "path": "build/*.xpi", "label": "Signed Extention" } | ||
] | ||
} | ||
], | ||
[ | ||
"semantic-release-telegram", { | ||
"chats": [ 238585617 ], | ||
"telegra.ph" : { | ||
"title" : "{name} v.{version}", | ||
"message" : "<a href='{telegraph_url}'>Release Notes</a>", | ||
"content" : "{release_notes}" | ||
} | ||
} | ||
] | ||
], | ||
"preset": "eslint", | ||
"releaseRules": [ | ||
{ "tag": "Fix", "release": "patch" }, | ||
{ "tag": "Update", "release": "minor" }, | ||
{ "tag": "New", "release": "minor" }, | ||
{ "tag": "Breaking", "release": "major" }, | ||
{ "tag": "Docs", "release": "patch" }, | ||
{ "tag": "Upgrade", "release": "patch" } | ||
], | ||
"parserOpts": { | ||
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
npm run build:firefox | ||
npx web-ext sign -s build/firefox -a build -v --api-key $FIREFOX_API_KEY --api-secret $FIREFOX_SECRET_KEY |
Oops, something went wrong.