Skip to content

Commit

Permalink
Chore/v1 release alpha (#59)
Browse files Browse the repository at this point in the history
* Replace dep wildcards
* v1.0.0-alpha.1
* reduce crates.io keywords
* fix category slugs
  • Loading branch information
jordy25519 authored Oct 4, 2024
1 parent 1adafcb commit 9cc81c1
Show file tree
Hide file tree
Showing 4 changed files with 286 additions and 171 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,24 @@ jobs:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: install 1.76.0 toolchain
run: |
rustup install 1.76.0-x86_64-unknown-linux-gnu
- name: Cargo login
run: |
cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish drift-idl-gen
run: |
cd crates/drift-idl-gen
cargo publish
cargo publish || true
- name: Publish drift-rs
run: |
# add libdrift_ffi_sys
curl -L https://github.com/user-attachments/files/17160233/libdrift_ffi_sys.so.zip > ffi.zip
unzip ffi.zip
sudo mv libdrift_ffi_sys.so $CARGO_DRIFT_FFI_PATH
rm ffi.zip # clean up for git
# publish to crates.io
cargo publish
env:
CARGO_DRIFT_FFI_PATH: "/usr/lib"
Loading

0 comments on commit 9cc81c1

Please sign in to comment.