File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 4545 uses : ni/python-actions/setup-python@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1
4646 - name : Set up Poetry
4747 uses : ni/python-actions/setup-poetry@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1
48+ # If the version is 0.1.0-alpha.0, this will set the version to 0.1.0
49+ - name : Promote package version to release
50+ run : poetry version patch
4851 - name : Check project version
4952 if : github.event_name == 'release'
5053 uses : ni/python-actions/check-project-version@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1
7881 with :
7982 repository-url : ${{ fromJson(env.environment-info)[env.environment].upload-url }}
8083 update_version :
81- name : Update package version
84+ name : Update package version to next alpha version
8285 runs-on : ubuntu-latest
8386 needs : [build_package]
8487 permissions :
9497 - name : Update project version
9598 uses : ni/python-actions/update-project-version@5286c12d65d90b2ea738bd57d452dc4366497581 # v0.4.1
9699 with :
100+ # The default GITHUB_TOKEN cannot trigger PR workflows.
97101 token : ${{ secrets.ADMIN_PAT }}
102+ version-rule : " prepatch"
103+ use-dev-suffix : false
You can’t perform that action at this time.
0 commit comments