From 06c922293c42b627f557f31d74d1b3e714f11d42 Mon Sep 17 00:00:00 2001 From: Rickard Natt och Dag Date: Thu, 23 Feb 2023 20:19:08 +0100 Subject: [PATCH] fix(ci): run release --- .github/workflows/rust.yml | 34 +++++++++++++++++----------------- .releaserc.json | 4 ++-- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7281679..be06c68 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 diff --git a/.releaserc.json b/.releaserc.json index 64ac63b..7ddabde 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -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" },