mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
[misc] bring back old schema of revision.txt
- store in /var/www/revision.txt - prefix each line with the services directory
This commit is contained in:
@@ -18,7 +18,7 @@ RUN node genScript checkout | bash \
|
|||||||
\
|
\
|
||||||
# Store the revision for each service
|
# Store the revision for each service
|
||||||
# ---------------------------------------------
|
# ---------------------------------------------
|
||||||
&& node genScript revisions | bash > revisions.txt \
|
&& node genScript revisions | bash > /var/www/revisions.txt \
|
||||||
\
|
\
|
||||||
# Cleanup the git history
|
# Cleanup the git history
|
||||||
# -------------------
|
# -------------------
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ switch (process.argv.pop()) {
|
|||||||
break
|
break
|
||||||
case 'revisions':
|
case 'revisions':
|
||||||
for (const service of services) {
|
for (const service of services) {
|
||||||
|
console.log(`echo -n /var/www/sharelatex/${service.name},`)
|
||||||
console.log(`git -C ${service.name} rev-parse HEAD`)
|
console.log(`git -C ${service.name} rev-parse HEAD`)
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user