Skip to content

Commit f748b76

Browse files
authored
ci: fix issues in automated release configuration (#62)
* chore: add missing information about release v0.4.4 into CHANGELOG.md * chore: use https for repository URL * chore: use GH_TOKEN env variable in release workflow * chore: release if commits of type "chore(deps)" are present
1 parent dd56e69 commit f748b76

4 files changed

Lines changed: 18 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ jobs:
2323
- name: Release
2424
env:
2525
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
26-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2727
run: yarn semantic-release --branches master main

.releaserc.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
{
22
"plugins": [
3-
"@semantic-release/commit-analyzer",
3+
[
4+
"@semantic-release/commit-analyzer",
5+
{
6+
"preset": "angular",
7+
"releaseRules": [
8+
{"type": "chore", "scope": "deps", "release": "patch"}
9+
]
10+
}
11+
],
412
"@semantic-release/release-notes-generator",
513
[
614
"@semantic-release/changelog",

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.4.4](https://github.com/GetStream/mml-react/releases/tag/v0.4.4) 2022-04-25
4+
5+
### Chore
6+
* bump axios from 0.21.1 to 0.21.4
7+
* bump moment from 2.29.1 to 2.29.3
8+
* bump minimist from 1.2.5 to 1.2.6
9+
310
## [0.4.3](https://github.com/GetStream/mml-react/releases/tag/v0.4.3) 2022-04-20
411

512
### Chore

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"license": "SEE LICENSE IN LICENSE",
1212
"repository": {
1313
"type": "git",
14-
"url": "git://github.com/GetStream/mml-react.git"
14+
"url": "https://github.com/GetStream/mml-react.git"
1515
},
1616
"bugs": {
1717
"url": "https://github.com/GetStream/mml-react/issues"

0 commit comments

Comments
 (0)