diff --git a/.github/workflows/publish-vm-superio-ser.yaml b/.github/workflows/publish-vm-superio-ser.yaml new file mode 100644 index 0000000..0fb927d --- /dev/null +++ b/.github/workflows/publish-vm-superio-ser.yaml @@ -0,0 +1,21 @@ +name: Publish vm-superio-ser to crates.io + +on: + push: + tags: ['vm-superio-ser-v*'] # Triggers when pushing tags starting with 'vm-superio-ser-v' + +jobs: + publish: + runs-on: ubuntu-latest + # environment: release # Optional: for enhanced security + permissions: + id-token: write # Required for OIDC token exchange + steps: + - uses: actions/checkout@v4 + - uses: rust-lang/crates-io-auth-action@v1 + id: auth + - run: | + cd vm-superio-ser + cargo publish + env: + CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }} diff --git a/.github/workflows/publish-vm-superio.yaml b/.github/workflows/publish-vm-superio.yaml new file mode 100644 index 0000000..50cc4b0 --- /dev/null +++ b/.github/workflows/publish-vm-superio.yaml @@ -0,0 +1,21 @@ +name: Publish vm-superio to crates.io + +on: + push: + tags: ['vm-superio-v*'] # Triggers when pushing tags starting with 'vm-superio-v' + +jobs: + publish: + runs-on: ubuntu-latest + # environment: release # Optional: for enhanced security + permissions: + id-token: write # Required for OIDC token exchange + steps: + - uses: actions/checkout@v4 + - uses: rust-lang/crates-io-auth-action@v1 + id: auth + - run: | + cd vm-superio + cargo publish + env: + CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }} diff --git a/vm-superio-ser/CHANGELOG.md b/vm-superio-ser/CHANGELOG.md index 8c7dc61..a600897 100644 --- a/vm-superio-ser/CHANGELOG.md +++ b/vm-superio-ser/CHANGELOG.md @@ -2,6 +2,8 @@ ## Upcoming Release +## v0.4.1 + ### Changed - Widen vmm-sys-util dependency to 0.12.0-0.14.0 diff --git a/vm-superio-ser/Cargo.toml b/vm-superio-ser/Cargo.toml index 7a1783d..64b5ddd 100644 --- a/vm-superio-ser/Cargo.toml +++ b/vm-superio-ser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vm-superio-ser" -version = "0.4.0" +version = "0.4.1" description = "Serialization for legacy device states" keywords = ["superio", "serialization", "versioning"] repository = "https://github.com/rust-vmm/vm-superio" @@ -19,7 +19,7 @@ versionize_derive = "0.1.3" # We are using a fixed version of `vm-superio` so that the current version # of `vm-superio-ser` won't take a newer version of vm-superio, with which # it may not be compatible. -vm-superio = { version = "=0.8.0", path = "../vm-superio" } +vm-superio = { version = "=0.8.1", path = "../vm-superio" } [dev-dependencies] libc = "0.2.39" diff --git a/vm-superio/CHANGELOG.md b/vm-superio/CHANGELOG.md index bb3afb5..62e843f 100644 --- a/vm-superio/CHANGELOG.md +++ b/vm-superio/CHANGELOG.md @@ -2,6 +2,8 @@ ## Upcoming Release +## v0.8.1 + ### Changed - Widen vmm-sys-util dependency to 0.12.0-0.14.0 diff --git a/vm-superio/Cargo.toml b/vm-superio/Cargo.toml index 760f067..653d0db 100644 --- a/vm-superio/Cargo.toml +++ b/vm-superio/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vm-superio" -version = "0.8.0" +version = "0.8.1" description = "Emulation for legacy devices" keywords = ["superio", "emulation"] repository = "https://github.com/rust-vmm/vm-superio"