Skip to content

Commit 09d955f

Browse files
authored
fix: remove old release please files (#170)
1 parent 0f2a89f commit 09d955f

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

lib/content/index.js

+4
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ const workspaceRepo = {
6464
...releasePlease(true),
6565
'.github/workflows/ci-{{pkgNameFs}}.yml': 'ci.yml',
6666
},
67+
rm: [
68+
// These are the old release please files that should be removed now
69+
'.github/workflows/release-please-{{pkgNameFs}}.yml',
70+
],
6771
}
6872

6973
// Changes for each workspace but applied to the relative workspace dir

test/apply/index.js

+8
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ t.test('private workspace', async (t) => {
8383
a: { private: true },
8484
b: {},
8585
},
86+
testdir: {
87+
'.github': {
88+
workflows: {
89+
'release-please-a.yml': 'old yaml file',
90+
'release-please-b.yml': 'old yaml file',
91+
},
92+
},
93+
},
8694
})
8795
await s.apply()
8896

0 commit comments

Comments
 (0)