Skip to content

Commit

Permalink
fix(ci): run release
Browse files Browse the repository at this point in the history
  • Loading branch information
believer committed Feb 23, 2023
1 parent 75ca52f commit 06c9222
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,23 +176,23 @@ jobs:
- name: ls artifacts
run: ls -R ./artifacts

# - name: Install semantic-release-cargo
# uses: taiki-e/install-action@v2
# with:
# tool: semantic-release-cargo@2

# - name: Semantic Release
# uses: cycjimmy/semantic-release-action@v3
# id: semantic
# with:
# semantic_version: 17.1.1
# extra_plugins: |
# @semantic-release/changelog@5.0.1
# @semantic-release/exec@5.0
# @semantic-release/git@9.0
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Install semantic-release-cargo
uses: taiki-e/install-action@v2
with:
tool: semantic-release-cargo@2

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
id: semantic
with:
semantic_version: 17.1.1
extra_plugins: |
@semantic-release/changelog@5.0.1
@semantic-release/exec@5.0
@semantic-release/git@9.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

# release:
# name: Create release
Expand Down
4 changes: 2 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
{
"assets": [
{
"path": "dist/x86_64-apple-darwin/supreme-x86_64-apple-darwin",
"path": "artifacts/x86_64-apple-darwin/supreme-x86_64-apple-darwin",
"name": "supreme-${nextRelease.version}-x86_64-apple-darwin",
"label": "x86_64-apple-darwin"
},
{
"path": "dist/aarch64-apple-darwin/supreme-aarch64-apple-darwin",
"path": "artifacts/aarch64-apple-darwin/supreme-aarch64-apple-darwin",
"name": "supreme-${nextRelease.version}-aarch64-apple-darwin",
"label": "aarch64-apple-darwin"
},
Expand Down

0 comments on commit 06c9222

Please sign in to comment.