feat: add detailed --version output with build-time version injection

This commit is contained in:
2026-06-22 13:42:52 +08:00
parent eb05e27655
commit 0a138f6f11
5 changed files with 35 additions and 3 deletions
+6
View File
@@ -24,6 +24,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set version
run: |
VERSION="${{ github.event.release.tag_name }}"
VERSION="${VERSION#v}"
echo "CCSM_VERSION=$VERSION" >> "$GITHUB_ENV"
- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable