Skip to content

Commit

Permalink
update version when building
Browse files Browse the repository at this point in the history
  • Loading branch information
TillerBurr committed Apr 23, 2024
1 parent 6e1a50a commit 8502125
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ clean-js:

# Generate components and build the bundle
build: clean-js
python scripts/make_version.py
pnpm run build

# Build the webpack bundle
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dash_query_builder",
"version": "0.6.0",
"version": "1.0.0",
"description": "Component for Dash based on react-awesome-query-builder",
"main": "index.ts",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/make_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
_version = package["version"]

with _version_file.open("w") as f:
f.write(f"__version__ = '{_version}'")
f.write(f'__version__ = "{_version}"')

0 comments on commit 8502125

Please sign in to comment.