Skip to content

Commit

Permalink
Add relative path packing linking to release
Browse files Browse the repository at this point in the history
  • Loading branch information
kelanik8 committed Mar 27, 2024
1 parent e4f0811 commit 5e798d5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,14 @@ jobs:
restore-keys: ${{ runner.OS }}-node-
- name: "Dependencies"
working-directory: client/web/${{ matrix.app }}
run: make dep
run: |
js_line=$(cat package.json | grep -n '"@cortezaproject/corteza-js"' | cut -d : -f 1)
awk -v ln="$js_line" 'NR==ln {$0 = " \"@cortezaproject/corteza-js\": \"file:../../../lib/js\","} 1' package.json > package.temp.json && mv package.temp.json package.json
vue_line=$(cat package.json | grep -n '"@cortezaproject/corteza-vue"' | cut -d : -f 1)
awk -v ln="$vue_line" 'NR==ln {$0 = " \"@cortezaproject/corteza-vue\": \"file:../../../lib/vue\","} 1' package.json > package.temp.json && mv package.temp.json package.json
make dep
- name: "Build"
working-directory: client/web/${{ matrix.app }}
run: make build
Expand Down

0 comments on commit 5e798d5

Please sign in to comment.