generated from tophat/new-project-kit
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
Emmanuel Ogbizi
committed
Apr 23, 2020
1 parent
c6e5e59
commit f70c588
Showing
5 changed files
with
47 additions
and
19 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,16 @@ | ||
test-e2e: | ||
git config --global user.email "test@example.com" | ||
git config --global user.name "Test Example" | ||
cd e2e && \ | ||
git commit -m 'feat: test release' --allow-empty && \ | ||
CI_PULL_REQUEST='' CIRCLE_PULL_REQUEST='' \ | ||
FIREFOX_API_KEY=$(TEST_FIREFOX_API_KEY) \ | ||
FIREFOX_SECRET_KEY=$(TEST_FIREFOX_SECRET_KEY) \ | ||
../node_modules/.bin/semantic-release --branches $(CIRCLE_BRANCH) | ||
git push --delete origin e2e-v1.0.0 | ||
git tag --delete e2e-v1.0.0 | ||
|
||
prep-e2e-listed: | ||
sed -i 's/channel: "unlisted"/channel: "listed"/g' 'e2e/.releaserc.js' | ||
|
||
test-e2e-listed: prep-e2e-listed test-e2e |
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,19 @@ | ||
module.exports = { | ||
ci: false, | ||
debug: true, | ||
dryRun: false, | ||
tagFormat: "e2e-v${version}", | ||
plugins: [ | ||
[ | ||
"../src/index.js", | ||
{ | ||
apiUrlPrefix: "https://addons-dev.allizom.org/api/v3", | ||
artifactsDir: "./", | ||
channel: "unlisted", | ||
sourceDir: "./", | ||
extensionId: "{01234567-abcd-6789-cdef-0123456789ef}", | ||
targetXpi: "extension.xpi", | ||
}, | ||
], | ||
], | ||
}; |
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