ci: update action to use api package

This commit is contained in:
dumbmoron 2024-09-09 16:45:04 +00:00
parent aa25421422
commit 08cc36c873
No known key found for this signature in database

View file

@ -32,7 +32,7 @@ jobs:
- name: Get release metadata - name: Get release metadata
id: release-meta id: release-meta
run: | run: |
version=$(cat package.json | jq -r .version) version=$(cat api/package.json | jq -r .version)
echo "commit_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT echo "commit_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
echo "version=$version" >> $GITHUB_OUTPUT echo "version=$version" >> $GITHUB_OUTPUT
echo "major_version=$(echo "$version" | cut -d. -f1)" >> $GITHUB_OUTPUT echo "major_version=$(echo "$version" | cut -d. -f1)" >> $GITHUB_OUTPUT