mirror of
https://github.com/joaquinjsb/gitea-release-please-action
synced 2026-05-12 09:11:35 +02:00
fix(manifest): if "." is used it should have same outputs as node (#319)
This commit is contained in:
@@ -345,6 +345,10 @@ describe('release-please-action', () => {
|
||||
{
|
||||
upload_url: 'http://example.com',
|
||||
tag_name: 'v1.0.0'
|
||||
},
|
||||
'.': {
|
||||
upload_url: 'http://example.com',
|
||||
tag_name: 'v1.0.0'
|
||||
}
|
||||
})
|
||||
|
||||
@@ -356,8 +360,11 @@ describe('release-please-action', () => {
|
||||
sinon.assert.calledOnce(manifestReleasePRStub)
|
||||
assert.deepStrictEqual(output, {
|
||||
releases_created: true,
|
||||
release_created: true,
|
||||
'path/pkgA--upload_url': 'http://example.com',
|
||||
'path/pkgA--tag_name': 'v1.0.0',
|
||||
tag_name: 'v1.0.0',
|
||||
upload_url: 'http://example.com',
|
||||
pr: 25
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user