mirror of
https://github.com/Noratrieb/actions-playground.git
synced 2026-01-14 17:05:05 +01:00
fix bug
This commit is contained in:
parent
28193a4cb5
commit
a94a5838dc
2 changed files with 4 additions and 0 deletions
|
|
@ -8,10 +8,13 @@ function latestCommitInDirectory(dirname) {
|
|||
|
||||
const serviceVersions = {};
|
||||
|
||||
const currentCommit = latestCommitInDirectory('.');
|
||||
|
||||
for (const service of services) {
|
||||
const version = latestCommitInDirectory(service);
|
||||
|
||||
serviceVersions[service] = version;
|
||||
}
|
||||
|
||||
console.log(currentCommit);
|
||||
console.log(serviceVersions);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue