File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/publisher/electron-release-server/src Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,8 @@ export default class PublisherERS extends PublisherBase<PublisherERSConfig> {
8585 let channel = 'stable' ;
8686 if ( config . channel ) {
8787 channel = config . channel ;
88+ } else if ( packageJSON . version . includes ( 'rc' ) ) {
89+ channel = 'rc' ;
8890 } else if ( packageJSON . version . includes ( 'beta' ) ) {
8991 channel = 'beta' ;
9092 } else if ( packageJSON . version . includes ( 'alpha' ) ) {
@@ -127,7 +129,7 @@ export default class PublisherERS extends PublisherBase<PublisherERSConfig> {
127129 d ( 'attempting to upload asset:' , artifactPath ) ;
128130 const artifactForm = new FormData ( ) ;
129131 artifactForm . append ( 'token' , token ) ;
130- artifactForm . append ( 'version' , packageJSON . version ) ;
132+ artifactForm . append ( 'version' , ` ${ packageJSON . version } _ ${ flavor } ` ) ;
131133 artifactForm . append ( 'platform' , ersPlatform ( makeResult . platform , makeResult . arch ) ) ;
132134
133135 // see https://github.com/form-data/form-data/issues/426
You can’t perform that action at this time.
0 commit comments