Skip to content

Commit

Permalink
test automation of release version
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewelamb committed Apr 17, 2024
1 parent 704c250 commit 6c0752b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ name: Test schematic
on:
push:
branches: ['main']
pull_request:
branches: ['*']
#pull_request:
#branches: ['*']
workflow_dispatch: # Allow manually triggering the workflow
concurrency:
# cancel the current running workflow from the same branch, PR when a new workflow is triggered
Expand Down
5 changes: 3 additions & 2 deletions set_release_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@
data['tool']['poetry']['version']=RELEASE_VERSION
print('the version number of this release is: ', RELEASE_VERSION)

with open("pyproject.toml", encoding="utf-8") as file:
toml.dump(data, file)
f = open("pyproject.toml",'w')
toml.dump(data, f)
f.close()

0 comments on commit 6c0752b

Please sign in to comment.