Skip to content

Commit de960c9

Browse files
chore: updated run-build-for-gh-deps.sh
1 parent 09f23e1 commit de960c9

File tree

1 file changed

+31
-4
lines changed

1 file changed

+31
-4
lines changed

run-build-for-gh-deps.sh

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,25 @@ log "Processing frontend-build"
4141
run_command "cd node_modules/@openedx/" || exit
4242
log "Current directory: $(pwd)"
4343
run_command "rm -rf frontend-build"
44-
run_command "git clone -b dcoa/design-tokens-support --single-branch https://github.com/eduNEXT/frontend-build.git"
44+
run_command "git clone -b master --single-branch https://github.com/openedx/frontend-build.git"
4545
run_command "cd frontend-build" || exit
4646
log "Current directory: $(pwd)"
4747
run_command "npm ci"
4848
run_command "cd ../../.." || exit
4949
log "Current directory: $(pwd)"
5050

51+
# Old build setup
52+
# log "Processing frontend-build"
53+
# run_command "cd node_modules/@openedx/" || exit
54+
# log "Current directory: $(pwd)"
55+
# run_command "rm -rf frontend-build"
56+
# run_command "git clone -b dcoa/design-tokens-support --single-branch https://github.com/eduNEXT/frontend-build.git"
57+
# run_command "cd frontend-build" || exit
58+
# log "Current directory: $(pwd)"
59+
# run_command "npm ci"
60+
# run_command "cd ../../.." || exit
61+
# log "Current directory: $(pwd)"
62+
5163
# paragon
5264
log "Processing paragon"
5365
run_command "ls -l"
@@ -57,12 +69,27 @@ run_command "rm -rf paragon"
5769
run_command "mkdir -p paragon"
5870
run_command "cd paragon" || exit
5971
log "Current directory: $(pwd)"
60-
run_command "npm pack @openedx/paragon@23.0.0-alpha.2"
61-
run_command "tar -xzf openedx-paragon-23.0.0-alpha.2.tgz --strip-components=1"
62-
run_command "rm openedx-paragon-23.0.0-alpha.2.tgz"
72+
run_command "npm pack @openedx/paragon@23.4.0"
73+
run_command "tar -xzf openedx-paragon-23.4.0.tgz --strip-components=1"
74+
run_command "rm openedx-paragon-23.4.0.tgz"
6375
run_command "cd ../../.." || exit
6476
log "Current directory: $(pwd)"
6577

78+
# Old paragon setup
79+
# log "Processing paragon"
80+
# run_command "ls -l"
81+
# run_command "cd node_modules/@openedx/" || exit
82+
# log "Current directory: $(pwd)"
83+
# run_command "rm -rf paragon"
84+
# run_command "mkdir -p paragon"
85+
# run_command "cd paragon" || exit
86+
# log "Current directory: $(pwd)"
87+
# run_command "npm pack @openedx/paragon@23.4.0"
88+
# run_command "tar -xzf openedx-paragon-23.4.0.tgz --strip-components=1"
89+
# run_command "rm openedx-paragon-23.4.0.tgz"
90+
# run_command "cd ../../.." || exit
91+
# log "Current directory: $(pwd)"
92+
6693
# frontend-component-header
6794
log "Processing frontend-component-header"
6895
run_command "cd node_modules/@edx/" || exit

0 commit comments

Comments
 (0)