Skip to content

Commit

Permalink
Merge pull request #246 from open-rpc/fix/deployed-version
Browse files Browse the repository at this point in the history
Fix/deployed version
  • Loading branch information
BelfordZ authored Dec 20, 2019
2 parents 81f6ac4 + 9e108bf commit 32f5d40
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- restore_cache: *restore-deps-cache
- run: npm install
- run: npm test
- run: npm build
- save_cache: *save-deps-cache

release:
Expand All @@ -47,8 +48,7 @@ jobs:
- restore_cache: *restore-deps-cache
- run: npm install
- run: npm test
- run: npm run build
- run: npm install semantic-release @semantic-release/changelog @semantic-release/git @semantic-release/github @semantic-release/npm @semantic-release/commit-analyzer @semantic-release/release-notes-generator @qiwi/semantic-release-gh-pages-plugin
- run: npm install semantic-release @semantic-release/changelog @semantic-release/git @semantic-release/github @semantic-release/npm @semantic-release/commit-analyzer @semantic-release/release-notes-generator @qiwi/semantic-release-gh-pages-plugin @semantic-release/exec
- run: git checkout package.json package-lock.json
- run: ./node_modules/.bin/semantic-release
- save_cache: *save-deps-cache
Expand Down
10 changes: 10 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@
"@semantic-release/github",
"@qiwi/semantic-release-gh-pages-plugin"
],
"prepare": [
[
"@semantic-release/exec",
{
"publishCmd": "./bin/build.sh"
}
],
"@semantic-release/changelog",
"@semantic-release/git"
],
"publish": [
["@semantic-release/github", {
"assets": ["build/markdown/spec.md"]
Expand Down

0 comments on commit 32f5d40

Please sign in to comment.