Skip to content

Commit

Permalink
fix: release version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewPattell committed Jul 13, 2023
1 parent 4ee3f61 commit 026edd9
Show file tree
Hide file tree
Showing 4 changed files with 139 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ jobs:
with:
name: build-artifact

- name: Install dependencies
run: npm ci

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
123 changes: 121 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@lomray/eslint-config": "^3.0.0",
"@lomray/prettier-config": "^1.2.0",
"@lomray/stylelint-config": "^1.4.0",
"@semantic-release/exec": "^6.0.3",
"@types/node": "^20.3.3",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
Expand Down
19 changes: 14 additions & 5 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,19 @@ export default {
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
["@semantic-release/github", {
"assets": [
{"path": "build.zip", "label": "Build-${nextRelease.gitTag}"},
]
}],
[
'@semantic-release/github',
{
assets: [
{ path: 'build.zip', label: 'Build-${nextRelease.gitTag}' },
]
}
],
[
'@semantic-release/exec',
{
prepareCmd: 'npm version ${nextRelease.version} --no-git-tag-version',
}
]
]
}

0 comments on commit 026edd9

Please sign in to comment.