Skip to content

Commit cb2c878

Browse files
committed
Update build process and bump version to 0.6.1
In the existing GitHub Workflow, a patch build was being created every time. However, to offer more flexibility and control over the build process, we've created a generic build script instead. This allows us to manually determine build type when needed. Additionally, the version of all associated files has been updated to 0.6.1. Ensuring that all versions are in sync reduces ambiguity and prevents potential conflicts.
1 parent 848a41c commit cb2c878

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/CreateRelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: npm install
2323

2424
- name: Build the Project
25-
run: npm run build:patch
25+
run: npm run build
2626

2727
- name: Get the version
2828
id: get_version

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "bionic-reading-epub-converter-webapp",
33
"displayName": "Bionic Reading EPUB Converter WebApp",
4-
"version": "0.6.0",
4+
"version": "0.6.1",
55
"description": "WebApp to convert EPUB files to Bionic Reading format",
66
"main": "index.js",
77
"scripts": {
88
"init-project": "node ./scripts/update-package-json.js",
9+
"build": "webpack --config webpack.config.js --mode production && npm run copy-release && npm run zip-release",
910
"build:patch": "npm run bump-version patch && webpack --config webpack.config.js --mode production && npm run copy-release && npm run zip-release",
1011
"build:minor": "npm run bump-version minor && webpack --config webpack.config.js --mode production && npm run copy-release && npm run zip-release",
1112
"build:major": "npm run bump-version major && webpack --config webpack.config.js --mode production && npm run copy-release && npm run zip-release",

src/Config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { marked } from 'marked';
88
* It also includes a method to update the HTML content of the application's index page.
99
*/
1010
export default class Config {
11-
public static readonly version = '0.6.0';
11+
public static readonly version = '0.6.1';
1212
public static readonly title = 'Bionic Reading EPUB Converter';
1313
public static readonly description = 'Convert EPUB to Bionic Reading EPUB.';
1414
public static readonly author = 'M. Passarello';

0 commit comments

Comments
 (0)