Skip to content

Commit

Permalink
feat: new code addition
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Forattini committed Apr 26, 2022
1 parent 47b5c5d commit 8863acb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/service-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,8 @@ jobs:
files: [ 'package.json' ]
})
- name: .releaserc
run: |
cat .releaserc.json
touch changelog.md
- name: Create changelog.md
run: touch changelog.md

- name: Semantic Release dependencies
run: |
Expand Down
11 changes: 9 additions & 2 deletions src/steps/generate-releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ module.exports = function ({ files = [] } = {}) {
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
Expand All @@ -41,7 +40,15 @@ module.exports = function ({ files = [] } = {}) {
"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
},
],
"@semantic-release/github",
[
"@semantic-release/github",
{
assets: [
"dist/**/*.{js,css,py}",
...files,
],
},
],
],
};

Expand Down

0 comments on commit 8863acb

Please sign in to comment.