Skip to content

Commit 7897c1d

Browse files
authored
Update release.yml
1 parent 2ac12e1 commit 7897c1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525

2626
- name: Set GitHub Release Tag as Poetry Package Version
2727
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
28+
sed -i -r 's/version *= *".*"/version = "${{ github.event.inputs.tag }}"/g' ./netbox_atlas_plugin/__init__.py
29+
sed -i '0,/version =.*/s//version = "'"${{ github.event.inputs.tag }}"'"/' ./pyproject.toml
30+
sed -i -r 's/version*= *".*"/version="${{ github.event.inputs.tag }}"/g' ./setup.py
3131
shell: bash
3232

3333
- name: Commit version to tag branch

0 commit comments

Comments
 (0)