Skip to content

Commit b96110a

Browse files
Merge pull request #227 from technote-space/release/v1.0.4
Release/v1.0.4
2 parents e598be9 + 759500c commit b96110a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

__tests__/context-helper.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ describe('showActionInfo', () => {
248248
'',
249249
'==================================================',
250250
'Version: v1.2.3',
251-
' test-sha',
251+
' undefined',
252252
'Event: push',
253253
'Action: rerequested',
254254
'sha: test-sha',
@@ -290,7 +290,7 @@ describe('showActionInfo', () => {
290290
'',
291291
'==================================================',
292292
'Version: hello/world@v1.2.3',
293-
' test-sha',
293+
' 162553222be3497f057501e028b47afc64944d84',
294294
'Event: push',
295295
'Action: rerequested',
296296
'sha: test-sha',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@technote-space/github-action-helper",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "Helper to filter GitHub Action.",
55
"author": {
66
"name": "Technote",

src/context-helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ export const showActionInfo = (rootDir: string, logger: Logger, context: Context
3939
if (false !== info) {
4040
if ('owner' in info) {
4141
logger.log('Version: %s/%s@%s', info.owner, info.repo, info.tagName);
42-
logger.log(' %s', context.sha);
42+
logger.log(' %s', info.sha);
4343
} else {
4444
logger.log('Version: %s', info.tagName);
45-
logger.log(' %s', context.sha);
45+
logger.log(' %s', info.sha);
4646
}
4747
}
4848
logger.log('Event: %s', context.eventName);

0 commit comments

Comments
 (0)