Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish to crates.io

on:
push:
tags: ['v*']

env:
CARGO_TERM_COLOR: always

jobs:
publish:

runs-on: ubuntu-latest

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: cargo publish -p immediate_stats_macros
env:
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
- run: cargo publish -p immediate_stats
env:
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions immediate_stats/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "immediate_stats"
version = "0.1.2"
version = "0.1.3"
edition = "2024"
description = "Game stats that reset every frame, inspired by immediate mode rendering."
categories = ["game-development", "data-structures"]
Expand All @@ -26,7 +26,7 @@ bevy_ecs = { version = "0.16.0", default-features = false, optional = true, feat
"bevy_reflect",
] }
bevy_reflect = { version = "0.16.0", default-features = false, optional = true }
immediate_stats_macros = { path = "../immediate_stats_macros", version = "0.1.0", default-features = false }
immediate_stats_macros = { path = "../immediate_stats_macros", version = "0.1.3", default-features = false }

[dev-dependencies]
bevy = { version = "0.16.0", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion immediate_stats_macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "immediate_stats_macros"
version = "0.1.2"
version = "0.1.3"
edition = "2024"
description = "Game stats that reset every frame, inspired by immediate mode rendering."
categories = ["game-development", "data-structures"]
Expand Down