ci: fix path for bumping web api client version

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-05-10 10:19:15 +02:00
parent 5a172abdb9
commit 5eeaac1ad9
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ jobs:
- name: Upgrade /web - name: Upgrade /web
working-directory: web/ working-directory: web/
run: | run: |
export VERSION=`node -e 'console.log(require("../web-api/package.json").version)'` export VERSION=`node -e 'console.log(require("../gen-ts-api/package.json").version)'`
npm i @goauthentik/api@$VERSION npm i @goauthentik/api@$VERSION
- name: Create Pull Request - name: Create Pull Request
uses: peter-evans/create-pull-request@v4 uses: peter-evans/create-pull-request@v4