Skip to content

Commit

Permalink
fix: remove old release please files (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys authored Aug 25, 2022
1 parent 0f2a89f commit 09d955f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/content/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ const workspaceRepo = {
...releasePlease(true),
'.github/workflows/ci-{{pkgNameFs}}.yml': 'ci.yml',
},
rm: [
// These are the old release please files that should be removed now
'.github/workflows/release-please-{{pkgNameFs}}.yml',
],
}

// Changes for each workspace but applied to the relative workspace dir
Expand Down
8 changes: 8 additions & 0 deletions test/apply/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ t.test('private workspace', async (t) => {
a: { private: true },
b: {},
},
testdir: {
'.github': {
workflows: {
'release-please-a.yml': 'old yaml file',
'release-please-b.yml': 'old yaml file',
},
},
},
})
await s.apply()

Expand Down

0 comments on commit 09d955f

Please sign in to comment.