diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07a8b8d..8e1f18a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: path: frontend - name: Get frontend package version id: get_frontend_version - run: cd frontend && ls -la && echo version=$(node -p "require('./package.json').version") >> $GITHUB_OUTPUT + run: echo version=$(node -p "require('./frontend/package.json').version") >> $GITHUB_OUTPUT - name: Login to Docker Hub uses: docker/login-action@v3 with: @@ -49,7 +49,7 @@ jobs: path: admin_frontend - name: Get admin_frontend package version id: get_admin_frontend_version - run: cd admin_frontend && echo version=$(node -p "require('./package.json').version") >> $GITHUB_OUTPUT + run: echo version=$(node -p "require('./admin_frontend/package.json').version") >> $GITHUB_OUTPUT - name: Login to Docker Hub uses: docker/login-action@v3 with: @@ -79,7 +79,7 @@ jobs: path: backend - name: Get backend package version id: get_backend_version - run: cd backend && echo version=$(node -p "require('./package.json').version") >> $GITHUB_OUTPUT + run: echo version=$(node -p "require('./backend/package.json').version") >> $GITHUB_OUTPUT - name: Login to Docker Hub uses: docker/login-action@v3 with: