diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..4020e63 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,29 @@ +on: + push: + tags: + - 'v*.*.*' + +jobs: + linux-build: + name: "Linux Build" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal + target: x86_64-unknown-linux-gnu + + - uses: Swatinem/rust-cache@v1 + + - name: Build + uses: actions-rs/cargo@v1 + with: + command: build + args: --target x86_64-unknown-linux-gnu --release + + - name: Release + uses: softprops/action-gh-release@v1 diff --git a/codegen-luajit/Cargo.toml b/codegen-luajit/Cargo.toml index 6562983..34887e5 100644 --- a/codegen-luajit/Cargo.toml +++ b/codegen-luajit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "codegen-luajit" -version = "0.1.0" +version = "0.4.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/codegen-luau/Cargo.toml b/codegen-luau/Cargo.toml index 0311f0a..a80f8f4 100644 --- a/codegen-luau/Cargo.toml +++ b/codegen-luau/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "codegen-luau" -version = "0.1.0" +version = "0.3.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index cd21a69..cd739d7 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "fuzz" version = "0.0.0" -publish = false edition = "2021" +publish = false [package.metadata] cargo-fuzz = true diff --git a/wasm-ast/Cargo.toml b/wasm-ast/Cargo.toml index 8684726..6a81855 100644 --- a/wasm-ast/Cargo.toml +++ b/wasm-ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-ast" -version = "0.1.0" +version = "0.4.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/wasm-synth/Cargo.toml b/wasm-synth/Cargo.toml index b176160..bdec940 100644 --- a/wasm-synth/Cargo.toml +++ b/wasm-synth/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasm-synth" -version = "0.1.0" +version = "0.4.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html