|
@@ -28,13 +28,19 @@ if [[ "${CURRENT_LJM_DEP}" == "${LATEST_LJM_DEP}" ]]; then
|
28
|
28
|
exit 1
|
29
|
29
|
fi
|
30
|
30
|
|
|
31
|
+if [[ ${CURRENT_LJM_DEP} =~ ^.*download/(.*)/lib-jitsi-meet\.tgz$ ]]; then
|
|
32
|
+ COMMIT_MSG="https://github.com/jitsi/lib-jitsi-meet/compare/${BASH_REMATCH[1]}...${NEW_LJM_RELEASE}"
|
|
33
|
+else
|
|
34
|
+ COMMIT_MSG=${GH_LINK}
|
|
35
|
+fi
|
|
36
|
+
|
31
|
37
|
pushd ${THIS_DIR}/..
|
32
|
38
|
EPOCH=$(date +%s)
|
33
|
39
|
NEW_BRANCH="update-ljm-${EPOCH}"
|
34
|
40
|
git checkout -b ${NEW_BRANCH}
|
35
|
41
|
npm install ${LATEST_LJM_DEP}
|
36
|
42
|
git add package.json package-lock.json
|
37
|
|
-git commit -m "chore(deps) lib-jitsi-meet@latest" -m "${GH_LINK}"
|
|
43
|
+git commit -m "chore(deps) lib-jitsi-meet@latest" -m "${COMMIT_MSG}"
|
38
|
44
|
git push origin ${NEW_BRANCH}
|
39
|
45
|
gh pr create --repo jitsi/jitsi-meet --fill
|
40
|
46
|
popd
|