Skip to content

Commit

Permalink
ci: enable semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Dec 19, 2022
1 parent 53fdbcd commit 6a4087f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@ jobs:
git commit -m "update website"
git remote add origin https://github.com/${GITHUB_REPOSITORY}.git
git push -f origin HEAD:gh-pages
- name: Semantic release
continue-on-error: true
run: npx semantic-release
13 changes: 12 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,16 @@
"prettier --write"
]
},
"prettier": "@nordicsemiconductor/asset-tracker-cloud-code-style/.prettierrc"
"prettier": "@nordicsemiconductor/asset-tracker-cloud-code-style/.prettierrc",
"release": {
"branches": [
"saga"
],
"remoteTags": true,
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github"
]
}
}

0 comments on commit 6a4087f

Please sign in to comment.