mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 23:14:37 +00:00
chore: update project name and dependencies in Cargo files
- Changed project name from 'tauri-app' to 'AlphaHuman' in Cargo.toml and Cargo.lock. - Updated project description to reflect the new branding. - Adjusted version extraction in the GitHub Actions workflow to use the version from package.json instead of Cargo.toml. These changes align the project with its new identity and improve the workflow configuration.
This commit is contained in:
@@ -42,10 +42,15 @@ jobs:
|
||||
fetch-depth: 1
|
||||
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref }}
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20.x
|
||||
|
||||
- name: Extract version and tag
|
||||
id: extract-version
|
||||
run: |
|
||||
PACKAGE_VERSION=$(grep -m1 '^version' src-tauri/Cargo.toml | sed -E 's/.*"([^"]+)".*/\1/')
|
||||
PACKAGE_VERSION=$(node -p "require('./package.json').version")
|
||||
TAG_NAME="v${PACKAGE_VERSION}"
|
||||
RELEASE_NAME="AlphaHuman v${PACKAGE_VERSION}"
|
||||
echo "package-version=$PACKAGE_VERSION" >> $GITHUB_OUTPUT
|
||||
|
||||
Reference in New Issue
Block a user