Skip to content

Commit

Permalink
Merge pull request #88 from skalenetwork/dependabot/npm_and_yarn/cspe…
Browse files Browse the repository at this point in the history
…ll-8.14.4

Bump cspell from 6.31.1 to 8.14.4
  • Loading branch information
DimaStebaev authored Sep 26, 2024
2 parents d242fe1 + 1c5eb0d commit 0980c94
Show file tree
Hide file tree
Showing 3 changed files with 538 additions and 904 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"devDependencies": {
"cspell": "^6.31.1"
"cspell": "^8.14.4"
},
"name": "development",
"packageManager": "[email protected]",
Expand Down
5 changes: 3 additions & 2 deletions python/scripts/generate_package_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ def calculate_version(release_version):
return release_version
parts = release_version.strip().split('-')
[main_part, tail_part] = [parts[0], '-'.join(parts[1:])]
[branch, build_number] = tail_part.split('.')
tail_parts = tail_part.split('.')
[branch, build_number] = ['.'.join(tail_parts[:-1]), tail_part[-1]]
if branch == 'stable':
if int(build_number) == 0:
return main_part
Expand All @@ -28,7 +29,7 @@ def main():
if version_key not in os.environ or not os.environ[version_key]:
print('VERSION environment variable is not set', file=sys.stderr)
exit(1)

print(calculate_version(os.environ[version_key]))


Expand Down
Loading

0 comments on commit 0980c94

Please sign in to comment.