Skip to content

Commit

Permalink
Workflow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Feb 12, 2025
1 parent fc3a7b0 commit 2d98305
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-deb-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
arch: x86_64
deb_build_profiles: "no-python312"

- os: debian12
- distribution: debian-12
arch: aarch64
deb_build_profiles: "no-python312"

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-maven-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
type: string

jobs:
build-slice-compilers:
build-maven-packages:
runs-on: ubuntu-24.04

steps:
Expand Down Expand Up @@ -56,6 +56,7 @@ jobs:

- name: Publish Maven Packages
run: ./gradlew publish
working-directory: java
env:
MAVEN_REPOSITORY: ${{ inputs.repository_url }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
Expand Down
17 changes: 17 additions & 0 deletions packaging/pypi/update_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import toml
import sys

if len(sys.argv) != 3:
print("Usage: update_version.py <new_version> <project.toml>")
sys.exit(1)

new_version = sys.argv[1]
path = sys.argv[2]

data = toml.load(path)
data["project"]["version"] = new_version

with open(path, "w") as f:
toml.dump(data, f)

print(f"Updated version to {new_version}")

0 comments on commit 2d98305

Please sign in to comment.