File tree 3 files changed +2
-3
lines changed
3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 47
47
git config --local user.email ${{ secrets.GH_DEPLOY_EMAIL }}
48
48
git config --local user.name ${{ secrets.GH_DEPLOY_NAME }}
49
49
- name : Publish with script
50
- run : bun release exec promote --v=${{ github.event.inputs.version }} --t=${{ github.event.inputs.channel }} -u ${{ github.event.inputs.update-branch }}
50
+ run : bun release exec promote --v=${{ github.event.inputs.version }} --t=${{ github.event.inputs.channel }} --u= ${{ github.event.inputs.update-branch }}
51
51
env :
52
52
FORCE_COLOR : 2
53
53
CI : true
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { question } from '../publish/steps/confirm-strategy';
11
11
12
12
export async function promoteToLTS ( args : string [ ] ) {
13
13
// get user supplied config
14
- const config = await parseRawFlags ( args . slice ( 1 ) , promote_flags_config ) ;
14
+ const config = await parseRawFlags ( args , promote_flags_config ) ;
15
15
const gitTag : GIT_TAG = `v${ config . full . get ( 'version' ) as SEMVER_VERSION } ` ;
16
16
17
17
if ( config . full . get ( 'help' ) ) {
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ const COMMANDS = {
19
19
promote : promoteToLTS ,
20
20
default : executePublish ,
21
21
exec : async ( args : string [ ] ) => {
22
- args . shift ( ) ;
23
22
const cmd = args . shift ( ) ;
24
23
25
24
if ( ! cmd ) {
You can’t perform that action at this time.
0 commit comments