Add automatic releasing

This commit is contained in:
Rerumu 2022-04-27 04:49:14 -04:00
parent b356609ca4
commit 85e0e2276a
6 changed files with 34 additions and 5 deletions

29
.github/workflows/release.yml vendored Normal file
View File

@ -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

View File

@ -1,6 +1,6 @@
[package] [package]
name = "codegen-luajit" name = "codegen-luajit"
version = "0.1.0" version = "0.4.0"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,6 +1,6 @@
[package] [package]
name = "codegen-luau" name = "codegen-luau"
version = "0.1.0" version = "0.3.0"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,8 +1,8 @@
[package] [package]
name = "fuzz" name = "fuzz"
version = "0.0.0" version = "0.0.0"
publish = false
edition = "2021" edition = "2021"
publish = false
[package.metadata] [package.metadata]
cargo-fuzz = true cargo-fuzz = true

View File

@ -1,6 +1,6 @@
[package] [package]
name = "wasm-ast" name = "wasm-ast"
version = "0.1.0" version = "0.4.0"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,6 +1,6 @@
[package] [package]
name = "wasm-synth" name = "wasm-synth"
version = "0.1.0" version = "0.4.0"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html