This repository was archived by the owner on Dec 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export default async function action(args: CliArguments) {
2020 repo : args . repository ,
2121 currentVersion : args [ 'current-version' ] ,
2222 fetchTags : args . tags === true ,
23- excludePrereleases : args [ 'no- pre-releases' ] === true ,
23+ excludePrereleases : args [ 'pre-releases' ] === false ,
2424 token : args . token
2525 } )
2626
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ program
1212 . option ( '-r, --repository' , 'The repository name.' )
1313 . option ( '-c, --current-version' , 'The current application version.' )
1414 . option ( '-t, --tags' , 'Fetches tags instead of releases.' )
15- . option ( '--no-pre-releases' , 'Excludes pre-releases.' , false )
15+ . option ( '--no-pre-releases' , 'Excludes pre-releases.' )
1616 . option ( '--token' , 'A PAT to use.' )
17- . option ( '--json' , 'Outputs the raw result data as JSON.' , false )
18- . option ( '--verbose' , 'Enables verbose logging.' , false )
17+ . option ( '--json' , 'Outputs the raw result data as JSON.' )
18+ . option ( '--verbose' , 'Enables verbose logging.' )
1919 . action ( action )
2020
2121program . parse ( process . argv )
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export interface CliArguments {
55 repository : string
66 'current-version' : string
77 tags ?: boolean
8- 'no- pre-releases' : boolean
8+ 'pre-releases' : boolean
99 token ?: string
1010 json : boolean
1111 verbose : boolean
You can’t perform that action at this time.
0 commit comments