mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #918 from overleaf/jpa-fix-revision.txt
[misc] bring back old schema of revision.txt
This commit is contained in:
commit
08d7035f9e
2 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,7 @@ RUN node genScript checkout | bash \
|
|||
\
|
||||
# Store the revision for each service
|
||||
# ---------------------------------------------
|
||||
&& node genScript revisions | bash > revisions.txt \
|
||||
&& node genScript revisions | bash > /var/www/revisions.txt \
|
||||
\
|
||||
# Cleanup the git history
|
||||
# -------------------
|
||||
|
|
|
@ -12,6 +12,7 @@ switch (process.argv.pop()) {
|
|||
break
|
||||
case 'revisions':
|
||||
for (const service of services) {
|
||||
console.log(`echo -n /var/www/sharelatex/${service.name},`)
|
||||
console.log(`git -C ${service.name} rev-parse HEAD`)
|
||||
}
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue