Skip to content

Commit

Permalink
Fix canary build
Browse files Browse the repository at this point in the history
  • Loading branch information
jgdavey committed Apr 20, 2024
1 parent fe74bbd commit 141c37f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
if: env.VERSION == 'canary'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release create $VERSION --draft --prereleaes --title $VERSION
run: gh release create $VERSION --draft --prerelease --title $VERSION

- name: Create GitHub release
if: env.VERSION != 'canary'
Expand All @@ -68,6 +68,7 @@ jobs:
# Emit backtraces on panics.
RUST_BACKTRACE: 1
strategy:
fail-fast: false
matrix:
build: [linux, linux-musl, macos, win-msvc]
include:
Expand Down Expand Up @@ -101,6 +102,7 @@ jobs:
target: ${{ matrix.target }}

- name: Build release binary
shell: bash
run: |
cargo build --verbose --release --target ${{ matrix.target }}
if [ "${{ matrix.os }}" = "windows-latest" ]; then
Expand All @@ -124,6 +126,7 @@ jobs:
- name: Creating directory for archive
shell: bash
run: |
mkdir -p "$ARCHIVE"
cp {README.md,CODE_OF_CONDUCT.md,LICENSE-APACHE,LICENSE-MIT} "$ARCHIVE/"
cp "$BIN" "$ARCHIVE"/
Expand Down

0 comments on commit 141c37f

Please sign in to comment.