ci: update action to use api package
This commit is contained in:
parent
aa25421422
commit
08cc36c873
1 changed files with 1 additions and 1 deletions
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue