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

This commit is contained in:
siujamo committed 2026-06-22 13:42:52 +08:00
1 parent eb05e27655
commit 0a138f6f11
5 files changed
+35 -3

No files matched your search

+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