mirror of
https://github.com/Noratrieb/actions-playground.git
synced 2026-01-14 17:05:05 +01:00
fix foo service AGAIN
This commit is contained in:
parent
4a608e1090
commit
99413cf232
2 changed files with 1 additions and 3 deletions
|
|
@ -3,3 +3,4 @@
|
||||||
echo 'Running foo!'
|
echo 'Running foo!'
|
||||||
echo 'fixed bug'
|
echo 'fixed bug'
|
||||||
echo 'fixed another bug'
|
echo 'fixed another bug'
|
||||||
|
echo 'NOT ANOTHER ONE'
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,6 @@ const child_process = require("child_process");
|
||||||
const services = ["bar-service", "foo-service"];
|
const services = ["bar-service", "foo-service"];
|
||||||
|
|
||||||
function latestCommitInDirectory(dirname) {
|
function latestCommitInDirectory(dirname) {
|
||||||
console.log(dirname, String(
|
|
||||||
child_process.execSync(`git log --oneline -n 3 ${dirname}`)
|
|
||||||
))
|
|
||||||
return String(
|
return String(
|
||||||
child_process.execSync(`git log --pretty=format:%H -n 1 ${dirname}`)
|
child_process.execSync(`git log --pretty=format:%H -n 1 ${dirname}`)
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue