Skip to content

Commit

Permalink
Update to for version v0.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuacolvin0 committed Nov 14, 2024
1 parent bdc9208 commit 9af2781
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ resolver = "2"

[workspace.package]
authors = ["Offchain Labs"]
version = "0.5.5"
version = "0.5.6"
edition = "2021"
homepage = "https://arbitrum.io"
license = "MIT OR Apache-2.0"
Expand Down
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM --platform=linux/amd64 rust:1.80 as builder
ARG TARGETPLATFORM=linux/amd64
FROM rust:1.80 AS builder
RUN apt-get update && apt-get install -y git
RUN rustup target add x86_64-unknown-linux-gnu
RUN git clone https://github.com/offchainlabs/cargo-stylus.git
WORKDIR /cargo-stylus
RUN git checkout v0.5.2
RUN git checkout v0.5.6
RUN cargo build --release --manifest-path main/Cargo.toml
FROM --platform=linux/amd64 rust:1.80
COPY --from=builder /cargo-stylus/target/release/cargo-stylus /usr/local/bin/cargo-stylus

FROM rust:1.80
COPY --from=builder /cargo-stylus/target/release/cargo-stylus /usr/local/bin/cargo-stylus
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ Cargo command for developing Arbitrum Stylus projects
### Building the Project Locally
Install [Rust](https://www.rust-lang.org/tools/install)

Clone the repo to your local device
Clone the current released version to your local device
```
git clone https://github.com/OffchainLabs/cargo-stylus.git
git clone --branch v0.5.6 https://github.com/OffchainLabs/cargo-stylus.git
cd cargo-stylus
```

Expand Down

0 comments on commit 9af2781

Please sign in to comment.