File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 2323 GH_TOKEN : ${{ secrets.GH_TOKEN }}
2424 VSCE_TOKEN_DISABLED : ${{ secrets.MARKETPLACE_TOKEN }}
2525 GITHUB_RUN_NUMBER : ${{ github.run_number }}
26- - name : Upload Extension
26+ - name : Upload Artifacts
2727 uses : actions/upload-artifact@v4
2828 with :
2929 name : extension
Original file line number Diff line number Diff line change 444444 "build" : " yarn build-extension && yarn build-plugins && yarn package-extension" ,
445445 "build-extension" : " webpack --mode production" ,
446446 "build-plugins" : " webpack --mode production --config ./drawio-custom-plugins/webpack.config.ts" ,
447- "package-extension" : " yarn package-extension-stable " ,
447+ "package-extension" : " yarn package-extension-preRelease " ,
448448 "package-extension-stable" : " vsce package --yarn --out ./dist/extension.vsix" ,
449449 "package-extension-preRelease" : " vsce package --yarn --out ./dist/extension.vsix --pre-release" ,
450450 "dev" : " webpack --mode development --watch" ,
451451 "dev-drawio-plugins" : " webpack --mode development --watch --config ./drawio-custom-plugins/webpack.config.ts" ,
452452 "dev-drawio-plugins-web" : " webpack-dev-server --hot --config ./drawio-custom-plugins/webpack.config.ts"
453453 },
454454 "files" : [
455- " dist/**/*" ,
455+ " dist/custom-drawio-plugins/**/*" ,
456+ " dist/extension/**/*" ,
456457 " package.json" ,
457458 " docs/**/*" ,
458459 " drawio/LICENSE" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ export async function run(): Promise<void> {
3131 }
3232
3333 const runNumber = process . env . GITHUB_RUN_NUMBER ;
34- const previewVersion = stableVersion . with ( { patch : Number ( runNumber ) } ) ;
34+ const preReleaseNumber = `${ new Date ( ) . toISOString ( ) . replace ( / [ ^ 0 - 9 ] / g, '' ) } 0${ runNumber } ` ;
35+ const previewVersion = stableVersion . with ( { patch : Number ( preReleaseNumber ) } ) ;
3536
3637 const previewTag = `v${ previewVersion } ` ;
3738 if ( ! await gh . tagExists ( context . repo , previewTag ) ) {
You can’t perform that action at this time.
0 commit comments