Skip to content

Commit

Permalink
ci: update the workflow and add releaserc
Browse files Browse the repository at this point in the history
  • Loading branch information
grinish21 committed Sep 7, 2022
1 parent 8a1e9c8 commit dfeb372
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ jobs:
uses: actions/download-artifact@v2
- name: Copy artifacts to current directory
run: mv earlybird-binaries/* .
- name: Rename macOS binary
run: mv go-earlybird go-earlybird-macos
- name: Print current directory
run: ls -lah
- name: Rename macOS binary
run: mv go-earlybird go-earlybird-macos

- uses: actions/setup-node@v2
with:
node-version: '16'
Expand Down
24 changes: 24 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"branches": [
"fix/version-issue"
],
"plugins": [
["@semantic-release/github", {
"assets": ["go-earlybird-linux", "go-earlybird-macos", "go-earlybird.exe"],
"proxy": false
}],
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": ["CHANGELOG.md"]
}
]
]
}

0 comments on commit dfeb372

Please sign in to comment.