mirror of
https://github.com/tsl0922/ttyd.git
synced 2025-12-30 23:44:25 +01:00
cmake: add static version back
This commit is contained in:
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -12,6 +12,15 @@ jobs:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Check version bump
|
||||
run: |
|
||||
TAG=$(git describe --tags --match "[0-9]*.[0-9]*.[0-9]*" --abbrev=8)
|
||||
VERSION=$(grep project CMakeLists.txt| awk '{print $3}')
|
||||
if [ "$TAG" != "$VERSION" ]; then
|
||||
echo "=== Version in CMakeLists.txt and git tag does not match!"
|
||||
echo "=== Git Tag: $TAG, Version: $VERSION"
|
||||
exit 1
|
||||
fi
|
||||
- uses: actions/download-artifact@v4
|
||||
- run: |
|
||||
mkdir build
|
||||
|
||||
Reference in New Issue
Block a user