We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ac12e1 commit 7897c1dCopy full SHA for 7897c1d
.github/workflows/release.yml
@@ -25,9 +25,9 @@ jobs:
25
26
- name: Set GitHub Release Tag as Poetry Package Version
27
run: |
28
- sed -i -r 's/version *= *".*"/version = "${{ github.event.release.tag_name }}"/g' ./netbox_atlas_plugin/__init__.py
29
- sed -i '0,/version =.*/s//version = "'"${{ github.event.release.tag_name }}"'"/' ./pyproject.toml
30
- sed -i -r 's/version*= *".*"/version="${{ github.event.release.tag_name }}"/g' ./setup.py
+ sed -i -r 's/version *= *".*"/version = "${{ github.event.inputs.tag }}"/g' ./netbox_atlas_plugin/__init__.py
+ sed -i '0,/version =.*/s//version = "'"${{ github.event.inputs.tag }}"'"/' ./pyproject.toml
+ sed -i -r 's/version*= *".*"/version="${{ github.event.inputs.tag }}"/g' ./setup.py
31
shell: bash
32
33
- name: Commit version to tag branch
0 commit comments